(130.3ms) DROP DATABASE IF EXISTS "repor_dummy_test"  (251.5ms) CREATE DATABASE "repor_dummy_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (12.0ms) CREATE TABLE "comments" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "post_id" integer, "author" character varying, "likes" integer DEFAULT 0 NOT NULL)  (10.1ms) CREATE TABLE "posts" ("id" serial primary key, "created_at" timestamp, "updated_at" timestamp, "title" character varying, "author" character varying, "likes" integer DEFAULT 0 NOT NULL)   (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  (3.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.7ms) SELECT version FROM "schema_migrations"  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150714202319') ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.351613"], ["updated_at", "2016-02-10 03:41:26.351613"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.359168"], ["updated_at", "2016-02-10 03:41:26.359168"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.360887"], ["updated_at", "2016-02-10 03:41:26.360887"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 03:41:26.362441"], ["updated_at", "2016-02-10 03:41:26.362441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 03:41:26.364037"], ["updated_at", "2016-02-10 03:41:26.364037"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY "posts"."author" ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.369234"], ["updated_at", "2016-02-10 03:41:26.369234"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.371270"], ["updated_at", "2016-02-10 03:41:26.371270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.372901"], ["updated_at", "2016-02-10 03:41:26.372901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 03:41:26.374356"], ["updated_at", "2016-02-10 03:41:26.374356"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 03:41:26.375877"], ["updated_at", "2016-02-10 03:41:26.375877"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-10 03:41:26.377384"], ["updated_at", "2016-02-10 03:41:26.377384"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-10 03:41:26.379041"], ["updated_at", "2016-02-10 03:41:26.379041"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-10 03:41:26.380754"], ["updated_at", "2016-02-10 03:41:26.380754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-10 03:41:26.382335"], ["updated_at", "2016-02-10 03:41:26.382335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY "posts"."author" ORDER BY author ASC NULLS LAST  (0.4ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY "posts"."author" ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.386687"], ["updated_at", "2016-02-10 03:41:26.386687"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.389150"], ["updated_at", "2016-02-10 03:41:26.389150"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 03:41:26.390745"], ["updated_at", "2016-02-10 03:41:26.390745"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 03:41:26.392251"], ["updated_at", "2016-02-10 03:41:26.392251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 03:41:26.393754"], ["updated_at", "2016-02-10 03:41:26.393754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:41:26.395296"], ["updated_at", "2016-02-10 03:41:26.395296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY "posts"."author" ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY "posts"."author" ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY "posts"."author" ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY "posts"."author" ORDER BY author ASC NULLS LAST  (0.5ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY "posts"."author" ORDER BY author ASC NULLS LAST  (0.6ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY "posts"."author" ORDER BY author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-10 03:41:26.406539"], ["updated_at", "2016-02-10 03:41:26.406539"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-10 03:41:26.408620"], ["updated_at", "2016-02-10 03:41:26.408620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-10 03:41:26.410176"], ["updated_at", "2016-02-10 03:41:26.410176"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-10 03:41:26.411793"], ["updated_at", "2016-02-10 03:41:26.411793"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-10 03:41:26.413434"], ["updated_at", "2016-02-10 03:41:26.413434"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-10 03:41:26.415126"], ["updated_at", "2016-02-10 03:41:26.415126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-10 03:41:26.416736"], ["updated_at", "2016-02-10 03:41:26.416736"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-10 03:41:26.418878"], ["updated_at", "2016-02-10 03:41:26.418878"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-10 03:41:26.420685"], ["updated_at", "2016-02-10 03:41:26.420685"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-10 03:41:26.423588"], ["updated_at", "2016-02-10 03:41:26.423588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-10 03:41:26.425208"], ["updated_at", "2016-02-10 03:41:26.425208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT posts.author AS author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY "posts"."author" ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS author, posts.title AS title, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY "posts"."author", "posts"."title" ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:42:04.499136"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:42:04.503298"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 03:42:04.504952"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:50:53.086083"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:50:53.091261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 03:50:53.093177"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.8ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 03:50:53.166678"], ["updated_at", "2016-02-10 03:50:53.168135"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:50:48.166824"], ["updated_at", "2016-02-10 03:50:53.171695"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:53:53.166859"], ["updated_at", "2016-02-10 03:50:53.175608"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.7ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:53:06.665340"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:53:06.669867"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 03:53:06.671693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 03:53:06.679955"], ["updated_at", "2016-02-10 03:53:06.680742"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:53:01.680024"], ["updated_at", "2016-02-10 03:53:06.682355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:56:06.680038"], ["updated_at", "2016-02-10 03:53:06.683862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK Post Load (0.2ms) SELECT "posts".* FROM "posts" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:53:27.763303"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:53:27.767366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 03:53:27.769118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 03:53:27.777614"], ["updated_at", "2016-02-10 03:53:27.778340"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:53:22.777693"], ["updated_at", "2016-02-10 03:53:27.780023"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:56:27.777707"], ["updated_at", "2016-02-10 03:53:27.781649"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:56:04.607326"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:56:04.611705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 03:56:04.613360"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 03:56:04.622071"], ["updated_at", "2016-02-10 03:56:04.622826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:55:59.622148"], ["updated_at", "2016-02-10 03:56:04.624458"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:59:04.622164"], ["updated_at", "2016-02-10 03:56:04.625962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK Post Load (0.3ms) SELECT "posts".* FROM "posts" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:56:23.508536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:56:23.512897"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 03:56:23.514602"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (5.4ms) SELECT _repor_created_at_bins.range AS created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10 03:38:54 UTC,2016-02-10 03:38:55 UTC)'::tstzrange AS range) AS _repor_created_at_bins ON (CASE WHEN _repor_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_created_at_bins.range @> posts.created_at END) GROUP BY "posts"."created_at" ORDER BY created_at ASC NULLS LAST PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 1: ... AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2... ^ : SELECT _repor_created_at_bins.range AS created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10 03:38:54 UTC,2016-02-10 03:38:55 UTC)'::tstzrange AS range) AS _repor_created_at_bins ON (CASE WHEN _repor_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_created_at_bins.range @> posts.created_at END) GROUP BY "posts"."created_at" ORDER BY created_at ASC NULLS LAST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 03:56:23.537842"], ["updated_at", "2016-02-10 03:56:23.539226"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:56:18.537987"], ["updated_at", "2016-02-10 03:56:23.541965"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:59:23.538018"], ["updated_at", "2016-02-10 03:56:23.544180"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:57:17.635814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 03:57:17.640165"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 03:57:17.642929"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.5ms) SELECT _report_created_at_bins.range AS created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10 03:38:54 UTC,2016-02-10 03:38:55 UTC)'::tstzrange AS range AS _report_created_at_bins) ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY "posts"."created_at" ORDER BY created_at ASC NULLS LAST PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 1: ... AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2... ^ : SELECT _report_created_at_bins.range AS created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10 03:38:54 UTC,2016-02-10 03:38:55 UTC)'::tstzrange AS range AS _report_created_at_bins) ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY "posts"."created_at" ORDER BY created_at ASC NULLS LAST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 03:57:17.656525"], ["updated_at", "2016-02-10 03:57:17.657343"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:57:12.656597"], ["updated_at", "2016-02-10 03:57:17.659225"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:00:17.656614"], ["updated_at", "2016-02-10 03:57:17.660951"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:03:41.730886"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:03:41.735005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:03:41.736532"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (5.3ms) SELECT _report_created_at_bins.range AS created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY "posts"."created_at" ORDER BY created_at ASC NULLS LAST PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 1: ... AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2... ^ : SELECT _report_created_at_bins.range AS created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY "posts"."created_at" ORDER BY created_at ASC NULLS LAST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:03:41.758716"], ["updated_at", "2016-02-10 04:03:41.760127"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:03:36.758853"], ["updated_at", "2016-02-10 04:03:41.763113"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:06:41.758882"], ["updated_at", "2016-02-10 04:03:41.765476"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:04:51.087039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:04:51.091234"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:04:51.092825"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT _report_created_at_bins.range AS created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY "posts"."created_at" ORDER BY created_at ASC NULLS LAST PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 1: ... AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2... ^ : SELECT _report_created_at_bins.range AS created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY "posts"."created_at" ORDER BY created_at ASC NULLS LAST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:04:51.106515"], ["updated_at", "2016-02-10 04:04:51.107267"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:04:46.106586"], ["updated_at", "2016-02-10 04:04:51.109022"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:07:51.106602"], ["updated_at", "2016-02-10 04:04:51.110685"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.489835"], ["updated_at", "2016-02-10 04:08:31.489835"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.493852"], ["updated_at", "2016-02-10 04:08:31.493852"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.495639"], ["updated_at", "2016-02-10 04:08:31.495639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 04:08:31.497169"], ["updated_at", "2016-02-10 04:08:31.497169"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 04:08:31.498717"], ["updated_at", "2016-02-10 04:08:31.498717"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.503667"], ["updated_at", "2016-02-10 04:08:31.503667"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.505770"], ["updated_at", "2016-02-10 04:08:31.505770"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.507319"], ["updated_at", "2016-02-10 04:08:31.507319"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 04:08:31.508822"], ["updated_at", "2016-02-10 04:08:31.508822"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 04:08:31.510413"], ["updated_at", "2016-02-10 04:08:31.510413"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-10 04:08:31.511938"], ["updated_at", "2016-02-10 04:08:31.511938"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-10 04:08:31.513492"], ["updated_at", "2016-02-10 04:08:31.513492"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-10 04:08:31.515012"], ["updated_at", "2016-02-10 04:08:31.515012"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-10 04:08:31.516529"], ["updated_at", "2016-02-10 04:08:31.516529"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS LAST  (0.4ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.521143"], ["updated_at", "2016-02-10 04:08:31.521143"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.522962"], ["updated_at", "2016-02-10 04:08:31.522962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-10 04:08:31.524641"], ["updated_at", "2016-02-10 04:08:31.524641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 04:08:31.526168"], ["updated_at", "2016-02-10 04:08:31.526168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-10 04:08:31.527715"], ["updated_at", "2016-02-10 04:08:31.527715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:08:31.529195"], ["updated_at", "2016-02-10 04:08:31.529195"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-10 04:08:31.536054"], ["updated_at", "2016-02-10 04:08:31.536054"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-10 04:08:31.538650"], ["updated_at", "2016-02-10 04:08:31.538650"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-10 04:08:31.541401"], ["updated_at", "2016-02-10 04:08:31.541401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-10 04:08:31.543998"], ["updated_at", "2016-02-10 04:08:31.543998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-10 04:08:31.545557"], ["updated_at", "2016-02-10 04:08:31.545557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-10 04:08:31.547063"], ["updated_at", "2016-02-10 04:08:31.547063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-10 04:08:31.548602"], ["updated_at", "2016-02-10 04:08:31.548602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-10 04:08:31.550011"], ["updated_at", "2016-02-10 04:08:31.550011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-10 04:08:31.551548"], ["updated_at", "2016-02-10 04:08:31.551548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-10 04:08:31.552995"], ["updated_at", "2016-02-10 04:08:31.552995"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-10 04:08:31.554390"], ["updated_at", "2016-02-10 04:08:31.554390"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_value_author, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY _report_dimension_value_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_value_author, posts.title AS _report_dimension_value_title, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" GROUP BY _report_dimension_value_author, _report_dimension_value_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:08:46.066947"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:08:46.071136"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:08:46.072944"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (2.7ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at ORDER BY created_at ASC NULLS LAST PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 1: ... AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2... ^ : SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at ORDER BY created_at ASC NULLS LAST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:08:46.089176"], ["updated_at", "2016-02-10 04:08:46.090030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:08:41.089282"], ["updated_at", "2016-02-10 04:08:46.091758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:11:46.089299"], ["updated_at", "2016-02-10 04:08:46.093417"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:10:43.144631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:10:43.149270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:10:43.150946"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 1: ... AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2... ^ : SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:10:43.165218"], ["updated_at", "2016-02-10 04:10:43.166025"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:10:38.165286"], ["updated_at", "2016-02-10 04:10:43.167758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:13:43.165300"], ["updated_at", "2016-02-10 04:10:43.169322"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:11:45.753401"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:11:45.759862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:11:45.761803"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (3.3ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 1: ... AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2... ^ : SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:11:45.778984"], ["updated_at", "2016-02-10 04:11:45.779770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:11:40.779060"], ["updated_at", "2016-02-10 04:11:45.781403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:14:45.779074"], ["updated_at", "2016-02-10 04:11:45.783011"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:12:00.887415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:12:00.891586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:12:00.893224"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.5ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 2: (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:... ^ : SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:12:00.906346"], ["updated_at", "2016-02-10 04:12:00.907145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:11:55.906418"], ["updated_at", "2016-02-10 04:12:00.908829"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:15:00.906434"], ["updated_at", "2016-02-10 04:12:00.910460"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:12:32.468389"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:12:32.472548"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:12:32.474220"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 2: SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:5... ^ : SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER_JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:12:32.487343"], ["updated_at", "2016-02-10 04:12:32.488121"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:12:27.487447"], ["updated_at", "2016-02-10 04:12:32.489943"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:15:32.487464"], ["updated_at", "2016-02-10 04:12:32.491497"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:12:48.451943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:12:48.456275"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:12:48.457873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (2.8ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at PG::UndefinedFunction: ERROR: operator does not exist: tstzrange @> timestamp without time zone LINE 6: ELSE _report_created_at_bins.range @> posts.crea... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. : SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> posts.created_at END) GROUP BY _report_dimension_value_created_at  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:12:48.474471"], ["updated_at", "2016-02-10 04:12:48.475252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:12:43.474548"], ["updated_at", "2016-02-10 04:12:48.477043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:15:48.474565"], ["updated_at", "2016-02-10 04:12:48.478494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:14:29.756056"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:14:29.766981"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:14:29.770283"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (3.0ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST posts.created_at AS timestamp with time zone END) GROUP BY _report_dimension_value_created_at PG::SyntaxError: ERROR: syntax error at or near "posts" LINE 6: ... ELSE _report_created_at_bins.range @> CAST posts.crea... ^ : SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST posts.created_at AS timestamp with time zone END) GROUP BY _report_dimension_value_created_at  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:14:29.811943"], ["updated_at", "2016-02-10 04:14:29.813452"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:14:24.812090"], ["updated_at", "2016-02-10 04:14:29.817012"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:17:29.812123"], ["updated_at", "2016-02-10 04:14:29.820305"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:14:53.671941"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:14:53.676106"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:14:53.677744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp) END) GROUP BY _report_dimension_value_created_at PG::UndefinedFunction: ERROR: operator does not exist: tstzrange @> timestamp without time zone LINE 6: ELSE _report_created_at_bins.range @> CAST(posts... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. : SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp) END) GROUP BY _report_dimension_value_created_at  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:14:53.691871"], ["updated_at", "2016-02-10 04:14:53.692593"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:14:48.691947"], ["updated_at", "2016-02-10 04:14:53.694114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:17:53.691963"], ["updated_at", "2016-02-10 04:14:53.695454"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:15:03.709556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:15:03.713790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:15:03.715416"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (8.7ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _report_dimension_value_created_at ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:17:44.034947"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:17:44.039471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:17:44.041172"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _report_dimension_value_created_at  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:17:44.113266"], ["updated_at", "2016-02-10 04:17:44.114697"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:17:39.113403"], ["updated_at", "2016-02-10 04:17:44.118083"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:20:44.113436"], ["updated_at", "2016-02-10 04:17:44.121419"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:18:44.728522"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:18:44.733028"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:18:44.734565"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _report_dimension_value_created_at  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:18:44.757045"], ["updated_at", "2016-02-10 04:18:44.757869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:18:39.757110"], ["updated_at", "2016-02-10 04:18:44.759501"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:21:44.757124"], ["updated_at", "2016-02-10 04:18:44.761061"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:19:06.689950"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-10 04:19:06.694158"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-10 04:19:06.695862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _report_created_at_bins.range AS _report_dimension_value_created_at, COUNT(DISTINCT posts.id) AS _report_record_count FROM "posts" INNER JOIN ( SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range UNION SELECT '[2016-02-10T03:38:55Z,2016-02-10T03:38:56Z)'::tstzrange AS range ) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _report_dimension_value_created_at  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-10 04:19:06.710615"], ["updated_at", "2016-02-10 04:19:06.711373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:19:01.710675"], ["updated_at", "2016-02-10 04:19:06.712952"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 04:22:06.710688"], ["updated_at", "2016-02-10 04:19:06.714457"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) BEGIN  (2.2ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:00.968757"], ["updated_at", "2016-02-13 21:42:00.968757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:00.981904"], ["updated_at", "2016-02-13 21:42:00.981904"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:00.984257"], ["updated_at", "2016-02-13 21:42:00.984257"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-13 21:42:00.987429"], ["updated_at", "2016-02-13 21:42:00.987429"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-13 21:42:00.991036"], ["updated_at", "2016-02-13 21:42:00.991036"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (3.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:01.008839"], ["updated_at", "2016-02-13 21:42:01.008839"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:01.012190"], ["updated_at", "2016-02-13 21:42:01.012190"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:01.015734"], ["updated_at", "2016-02-13 21:42:01.015734"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-13 21:42:01.019157"], ["updated_at", "2016-02-13 21:42:01.019157"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-13 21:42:01.022184"], ["updated_at", "2016-02-13 21:42:01.022184"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-13 21:42:01.024628"], ["updated_at", "2016-02-13 21:42:01.024628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-13 21:42:01.026635"], ["updated_at", "2016-02-13 21:42:01.026635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-13 21:42:01.028875"], ["updated_at", "2016-02-13 21:42:01.028875"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-13 21:42:01.031867"], ["updated_at", "2016-02-13 21:42:01.031867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.5ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:01.037752"], ["updated_at", "2016-02-13 21:42:01.037752"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:01.039768"], ["updated_at", "2016-02-13 21:42:01.039768"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-13 21:42:01.042915"], ["updated_at", "2016-02-13 21:42:01.042915"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-13 21:42:01.045439"], ["updated_at", "2016-02-13 21:42:01.045439"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-13 21:42:01.047692"], ["updated_at", "2016-02-13 21:42:01.047692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-13 21:42:01.049868"], ["updated_at", "2016-02-13 21:42:01.049868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.8ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.4ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-13 21:42:01.060934"], ["updated_at", "2016-02-13 21:42:01.060934"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-13 21:42:01.064091"], ["updated_at", "2016-02-13 21:42:01.064091"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-13 21:42:01.066489"], ["updated_at", "2016-02-13 21:42:01.066489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-13 21:42:01.068814"], ["updated_at", "2016-02-13 21:42:01.068814"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-13 21:42:01.071776"], ["updated_at", "2016-02-13 21:42:01.071776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-13 21:42:01.074518"], ["updated_at", "2016-02-13 21:42:01.074518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-13 21:42:01.076639"], ["updated_at", "2016-02-13 21:42:01.076639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-13 21:42:01.078573"], ["updated_at", "2016-02-13 21:42:01.078573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-13 21:42:01.080612"], ["updated_at", "2016-02-13 21:42:01.080612"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-13 21:42:01.082923"], ["updated_at", "2016-02-13 21:42:01.082923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-13 21:42:01.086159"], ["updated_at", "2016-02-13 21:42:01.086159"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.5ms) SELECT posts.author AS _report_dimension_author, posts.title AS _report_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author, _report_dimension_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-13 21:42:01.097420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-13 21:42:01.099764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-13 21:42:01.101609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (2.7ms) SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]) AS _report_created_at_bins ON ( CASE WHEN _report_created_at_bins.min IS NULL AND _report_created_at_bins.max IS NULL THEN (posts.created_at IS NULL) WHEN _report_created_at_bins.min IS NULL THEN (posts.created_at < _report_created_at_bins.max) WHEN _report_created_at_bins.max IS NULL THEN (posts.created_at >= _report_created_at_bins.min) ELSE (posts.created_at < _report_created_at_bins.max) AND (posts.created_at >= _report_created_at_bins.min) END ) GROUP BY _report_dimension_created_at PG::SyntaxError: ERROR: syntax error at or near "[" LINE 1: ..._report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]... ^ : SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]) AS _report_created_at_bins ON ( CASE WHEN _report_created_at_bins.min IS NULL AND _report_created_at_bins.max IS NULL THEN (posts.created_at IS NULL) WHEN _report_created_at_bins.min IS NULL THEN (posts.created_at < _report_created_at_bins.max) WHEN _report_created_at_bins.max IS NULL THEN (posts.created_at >= _report_created_at_bins.min) ELSE (posts.created_at < _report_created_at_bins.max) AND (posts.created_at >= _report_created_at_bins.min) END ) GROUP BY _report_dimension_created_at  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-13 21:42:01.139809"], ["updated_at", "2016-02-13 21:42:01.140720"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-13 21:41:56.139904"], ["updated_at", "2016-02-13 21:42:01.146344"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-13 21:45:01.139924"], ["updated_at", "2016-02-13 21:42:01.149846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (4.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.1ms) BEGIN  (2.3ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.826561"], ["updated_at", "2016-02-16 02:02:55.826561"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.844486"], ["updated_at", "2016-02-16 02:02:55.844486"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.847851"], ["updated_at", "2016-02-16 02:02:55.847851"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:02:55.851145"], ["updated_at", "2016-02-16 02:02:55.851145"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:02:55.854421"], ["updated_at", "2016-02-16 02:02:55.854421"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (3.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.871773"], ["updated_at", "2016-02-16 02:02:55.871773"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.875225"], ["updated_at", "2016-02-16 02:02:55.875225"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.878408"], ["updated_at", "2016-02-16 02:02:55.878408"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:02:55.881418"], ["updated_at", "2016-02-16 02:02:55.881418"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:02:55.883959"], ["updated_at", "2016-02-16 02:02:55.883959"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:02:55.886221"], ["updated_at", "2016-02-16 02:02:55.886221"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:02:55.887916"], ["updated_at", "2016-02-16 02:02:55.887916"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:02:55.889439"], ["updated_at", "2016-02-16 02:02:55.889439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:02:55.890848"], ["updated_at", "2016-02-16 02:02:55.890848"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.4ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.895421"], ["updated_at", "2016-02-16 02:02:55.895421"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.897237"], ["updated_at", "2016-02-16 02:02:55.897237"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:02:55.898769"], ["updated_at", "2016-02-16 02:02:55.898769"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:02:55.900312"], ["updated_at", "2016-02-16 02:02:55.900312"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:02:55.905192"], ["updated_at", "2016-02-16 02:02:55.905192"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:02:55.907190"], ["updated_at", "2016-02-16 02:02:55.907190"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-16 02:02:55.913962"], ["updated_at", "2016-02-16 02:02:55.913962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-16 02:02:55.916053"], ["updated_at", "2016-02-16 02:02:55.916053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:02:55.917760"], ["updated_at", "2016-02-16 02:02:55.917760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:02:55.919509"], ["updated_at", "2016-02-16 02:02:55.919509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:02:55.921693"], ["updated_at", "2016-02-16 02:02:55.921693"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:02:55.925675"], ["updated_at", "2016-02-16 02:02:55.925675"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:02:55.928669"], ["updated_at", "2016-02-16 02:02:55.928669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:02:55.930269"], ["updated_at", "2016-02-16 02:02:55.930269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:02:55.931694"], ["updated_at", "2016-02-16 02:02:55.931694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:02:55.933000"], ["updated_at", "2016-02-16 02:02:55.933000"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:02:55.934337"], ["updated_at", "2016-02-16 02:02:55.934337"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, posts.title AS _report_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author, _report_dimension_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:02:55.942563"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:02:55.944372"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-16 02:02:55.946005"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-16 02:02:55.951163"], ["updated_at", "2016-02-16 02:02:55.951960"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:02:50.951242"], ["updated_at", "2016-02-16 02:02:55.954997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:05:55.951259"], ["updated_at", "2016-02-16 02:02:55.956535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.802778"], ["updated_at", "2016-02-16 02:03:34.802778"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.806840"], ["updated_at", "2016-02-16 02:03:34.806840"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.808444"], ["updated_at", "2016-02-16 02:03:34.808444"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:03:34.809991"], ["updated_at", "2016-02-16 02:03:34.809991"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:03:34.811466"], ["updated_at", "2016-02-16 02:03:34.811466"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.816504"], ["updated_at", "2016-02-16 02:03:34.816504"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.818336"], ["updated_at", "2016-02-16 02:03:34.818336"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.819874"], ["updated_at", "2016-02-16 02:03:34.819874"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:03:34.821397"], ["updated_at", "2016-02-16 02:03:34.821397"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:03:34.822914"], ["updated_at", "2016-02-16 02:03:34.822914"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:03:34.824442"], ["updated_at", "2016-02-16 02:03:34.824442"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:03:34.825925"], ["updated_at", "2016-02-16 02:03:34.825925"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:03:34.827422"], ["updated_at", "2016-02-16 02:03:34.827422"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:03:34.829014"], ["updated_at", "2016-02-16 02:03:34.829014"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.4ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.833534"], ["updated_at", "2016-02-16 02:03:34.833534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.835560"], ["updated_at", "2016-02-16 02:03:34.835560"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:03:34.837062"], ["updated_at", "2016-02-16 02:03:34.837062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:03:34.838494"], ["updated_at", "2016-02-16 02:03:34.838494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:03:34.839910"], ["updated_at", "2016-02-16 02:03:34.839910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:03:34.841377"], ["updated_at", "2016-02-16 02:03:34.841377"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-16 02:03:34.847637"], ["updated_at", "2016-02-16 02:03:34.847637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-16 02:03:34.849534"], ["updated_at", "2016-02-16 02:03:34.849534"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:03:34.851599"], ["updated_at", "2016-02-16 02:03:34.851599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:03:34.854255"], ["updated_at", "2016-02-16 02:03:34.854255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:03:34.856323"], ["updated_at", "2016-02-16 02:03:34.856323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:03:34.857715"], ["updated_at", "2016-02-16 02:03:34.857715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:03:34.859065"], ["updated_at", "2016-02-16 02:03:34.859065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:03:34.860342"], ["updated_at", "2016-02-16 02:03:34.860342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:03:34.861674"], ["updated_at", "2016-02-16 02:03:34.861674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:03:34.862971"], ["updated_at", "2016-02-16 02:03:34.862971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:03:34.864231"], ["updated_at", "2016-02-16 02:03:34.864231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, posts.title AS _report_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author, _report_dimension_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:03:34.869683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:03:34.871162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-16 02:03:34.872441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (3.2ms) SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]) AS _report_created_at_bins ON ( CASE WHEN _report_created_at_bins.min IS NULL AND _report_created_at_bins.max IS NULL THEN (posts.created_at IS NULL) WHEN _report_created_at_bins.min IS NULL THEN (posts.created_at < _report_created_at_bins.max) WHEN _report_created_at_bins.max IS NULL THEN (posts.created_at >= _report_created_at_bins.min) ELSE (posts.created_at < _report_created_at_bins.max) AND (posts.created_at >= _report_created_at_bins.min) END ) GROUP BY _report_dimension_created_at PG::SyntaxError: ERROR: syntax error at or near "[" LINE 1: ..._report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]... ^ : SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]) AS _report_created_at_bins ON ( CASE WHEN _report_created_at_bins.min IS NULL AND _report_created_at_bins.max IS NULL THEN (posts.created_at IS NULL) WHEN _report_created_at_bins.min IS NULL THEN (posts.created_at < _report_created_at_bins.max) WHEN _report_created_at_bins.max IS NULL THEN (posts.created_at >= _report_created_at_bins.min) ELSE (posts.created_at < _report_created_at_bins.max) AND (posts.created_at >= _report_created_at_bins.min) END ) GROUP BY _report_dimension_created_at  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-16 02:03:34.907183"], ["updated_at", "2016-02-16 02:03:34.908488"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:03:29.907308"], ["updated_at", "2016-02-16 02:03:34.911157"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:06:34.907338"], ["updated_at", "2016-02-16 02:03:34.913349"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:18.992833"], ["updated_at", "2016-02-16 02:04:18.992833"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:18.997155"], ["updated_at", "2016-02-16 02:04:18.997155"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:18.998898"], ["updated_at", "2016-02-16 02:04:18.998898"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:04:19.000563"], ["updated_at", "2016-02-16 02:04:19.000563"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:04:19.002284"], ["updated_at", "2016-02-16 02:04:19.002284"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:19.007413"], ["updated_at", "2016-02-16 02:04:19.007413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:19.009210"], ["updated_at", "2016-02-16 02:04:19.009210"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:19.010868"], ["updated_at", "2016-02-16 02:04:19.010868"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:04:19.012391"], ["updated_at", "2016-02-16 02:04:19.012391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:04:19.013818"], ["updated_at", "2016-02-16 02:04:19.013818"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:04:19.015356"], ["updated_at", "2016-02-16 02:04:19.015356"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:04:19.016869"], ["updated_at", "2016-02-16 02:04:19.016869"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:04:19.018343"], ["updated_at", "2016-02-16 02:04:19.018343"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:04:19.019773"], ["updated_at", "2016-02-16 02:04:19.019773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.4ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:19.024044"], ["updated_at", "2016-02-16 02:04:19.024044"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:19.025747"], ["updated_at", "2016-02-16 02:04:19.025747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:04:19.027246"], ["updated_at", "2016-02-16 02:04:19.027246"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:04:19.028680"], ["updated_at", "2016-02-16 02:04:19.028680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:04:19.030075"], ["updated_at", "2016-02-16 02:04:19.030075"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:04:19.031501"], ["updated_at", "2016-02-16 02:04:19.031501"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-16 02:04:19.037906"], ["updated_at", "2016-02-16 02:04:19.037906"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-16 02:04:19.039921"], ["updated_at", "2016-02-16 02:04:19.039921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:04:19.042163"], ["updated_at", "2016-02-16 02:04:19.042163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:04:19.043874"], ["updated_at", "2016-02-16 02:04:19.043874"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:04:19.045400"], ["updated_at", "2016-02-16 02:04:19.045400"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:04:19.046916"], ["updated_at", "2016-02-16 02:04:19.046916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:04:19.048440"], ["updated_at", "2016-02-16 02:04:19.048440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:04:19.049938"], ["updated_at", "2016-02-16 02:04:19.049938"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:04:19.051487"], ["updated_at", "2016-02-16 02:04:19.051487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:04:19.053921"], ["updated_at", "2016-02-16 02:04:19.053921"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:04:19.056796"], ["updated_at", "2016-02-16 02:04:19.056796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, posts.title AS _report_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author, _report_dimension_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:04:19.062602"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:04:19.064366"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-16 02:04:19.065939"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]) AS _report_created_at_bins ON ( CASE WHEN _report_created_at_bins.min IS NULL AND _report_created_at_bins.max IS NULL THEN (posts.created_at IS NULL) WHEN _report_created_at_bins.min IS NULL THEN (posts.created_at < _report_created_at_bins.max) WHEN _report_created_at_bins.max IS NULL THEN (posts.created_at >= _report_created_at_bins.min) ELSE (posts.created_at < _report_created_at_bins.max) AND (posts.created_at >= _report_created_at_bins.min) END ) GROUP BY _report_dimension_created_at PG::SyntaxError: ERROR: syntax error at or near "[" LINE 1: ..._report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]... ^ : SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]) AS _report_created_at_bins ON ( CASE WHEN _report_created_at_bins.min IS NULL AND _report_created_at_bins.max IS NULL THEN (posts.created_at IS NULL) WHEN _report_created_at_bins.min IS NULL THEN (posts.created_at < _report_created_at_bins.max) WHEN _report_created_at_bins.max IS NULL THEN (posts.created_at >= _report_created_at_bins.min) ELSE (posts.created_at < _report_created_at_bins.max) AND (posts.created_at >= _report_created_at_bins.min) END ) GROUP BY _report_dimension_created_at  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-16 02:04:19.078615"], ["updated_at", "2016-02-16 02:04:19.079277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:04:14.078678"], ["updated_at", "2016-02-16 02:04:19.080734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:07:19.078692"], ["updated_at", "2016-02-16 02:04:19.082146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.926330"], ["updated_at", "2016-02-16 02:05:16.926330"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.930480"], ["updated_at", "2016-02-16 02:05:16.930480"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.932224"], ["updated_at", "2016-02-16 02:05:16.932224"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:05:16.933733"], ["updated_at", "2016-02-16 02:05:16.933733"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:05:16.935313"], ["updated_at", "2016-02-16 02:05:16.935313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.940275"], ["updated_at", "2016-02-16 02:05:16.940275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.942228"], ["updated_at", "2016-02-16 02:05:16.942228"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.943735"], ["updated_at", "2016-02-16 02:05:16.943735"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:05:16.945246"], ["updated_at", "2016-02-16 02:05:16.945246"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:05:16.946759"], ["updated_at", "2016-02-16 02:05:16.946759"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:05:16.948228"], ["updated_at", "2016-02-16 02:05:16.948228"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:05:16.949702"], ["updated_at", "2016-02-16 02:05:16.949702"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:05:16.951169"], ["updated_at", "2016-02-16 02:05:16.951169"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:05:16.952702"], ["updated_at", "2016-02-16 02:05:16.952702"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.4ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.957044"], ["updated_at", "2016-02-16 02:05:16.957044"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.959111"], ["updated_at", "2016-02-16 02:05:16.959111"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:05:16.960567"], ["updated_at", "2016-02-16 02:05:16.960567"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:05:16.962005"], ["updated_at", "2016-02-16 02:05:16.962005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:05:16.963429"], ["updated_at", "2016-02-16 02:05:16.963429"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:05:16.964846"], ["updated_at", "2016-02-16 02:05:16.964846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-16 02:05:16.971281"], ["updated_at", "2016-02-16 02:05:16.971281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-16 02:05:16.973159"], ["updated_at", "2016-02-16 02:05:16.973159"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:05:16.975304"], ["updated_at", "2016-02-16 02:05:16.975304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:05:16.976930"], ["updated_at", "2016-02-16 02:05:16.976930"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:05:16.978479"], ["updated_at", "2016-02-16 02:05:16.978479"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:05:16.979993"], ["updated_at", "2016-02-16 02:05:16.979993"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:05:16.981487"], ["updated_at", "2016-02-16 02:05:16.981487"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:05:16.982920"], ["updated_at", "2016-02-16 02:05:16.982920"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:05:16.984441"], ["updated_at", "2016-02-16 02:05:16.984441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:05:16.986413"], ["updated_at", "2016-02-16 02:05:16.986413"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:05:16.989034"], ["updated_at", "2016-02-16 02:05:16.989034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, posts.title AS _report_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author, _report_dimension_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:05:16.994188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:05:16.995900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-16 02:05:16.997486"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-16 02:05:17.005732"], ["updated_at", "2016-02-16 02:05:17.006466"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:05:12.005791"], ["updated_at", "2016-02-16 02:05:17.008132"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:08:17.005804"], ["updated_at", "2016-02-16 02:05:17.009655"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK Post Load (0.2ms) SELECT "posts".* FROM "posts" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.895804"], ["updated_at", "2016-02-16 02:06:27.895804"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.901015"], ["updated_at", "2016-02-16 02:06:27.901015"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.902838"], ["updated_at", "2016-02-16 02:06:27.902838"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:06:27.904749"], ["updated_at", "2016-02-16 02:06:27.904749"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:06:27.906382"], ["updated_at", "2016-02-16 02:06:27.906382"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.911304"], ["updated_at", "2016-02-16 02:06:27.911304"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.913330"], ["updated_at", "2016-02-16 02:06:27.913330"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.914871"], ["updated_at", "2016-02-16 02:06:27.914871"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:06:27.916382"], ["updated_at", "2016-02-16 02:06:27.916382"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:06:27.917875"], ["updated_at", "2016-02-16 02:06:27.917875"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:06:27.919425"], ["updated_at", "2016-02-16 02:06:27.919425"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:06:27.921000"], ["updated_at", "2016-02-16 02:06:27.921000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:06:27.922542"], ["updated_at", "2016-02-16 02:06:27.922542"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:06:27.924018"], ["updated_at", "2016-02-16 02:06:27.924018"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.4ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.928610"], ["updated_at", "2016-02-16 02:06:27.928610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.930434"], ["updated_at", "2016-02-16 02:06:27.930434"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:06:27.931988"], ["updated_at", "2016-02-16 02:06:27.931988"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:06:27.933501"], ["updated_at", "2016-02-16 02:06:27.933501"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:06:27.935061"], ["updated_at", "2016-02-16 02:06:27.935061"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:06:27.936582"], ["updated_at", "2016-02-16 02:06:27.936582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-16 02:06:27.943022"], ["updated_at", "2016-02-16 02:06:27.943022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-16 02:06:27.945214"], ["updated_at", "2016-02-16 02:06:27.945214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:06:27.947047"], ["updated_at", "2016-02-16 02:06:27.947047"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:06:27.948794"], ["updated_at", "2016-02-16 02:06:27.948794"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:06:27.950313"], ["updated_at", "2016-02-16 02:06:27.950313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:06:27.951930"], ["updated_at", "2016-02-16 02:06:27.951930"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:06:27.953913"], ["updated_at", "2016-02-16 02:06:27.953913"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:06:27.956799"], ["updated_at", "2016-02-16 02:06:27.956799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:06:27.958416"], ["updated_at", "2016-02-16 02:06:27.958416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:06:27.959748"], ["updated_at", "2016-02-16 02:06:27.959748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:06:27.961060"], ["updated_at", "2016-02-16 02:06:27.961060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, posts.title AS _report_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author, _report_dimension_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:06:27.966037"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:06:27.969453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-16 02:06:27.972446"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _report_dimension_created_at PG::SyntaxError: ERROR: syntax error at or near "[" LINE 1: ..._report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]... ^ : SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ([nil, nil]) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _report_dimension_created_at  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-16 02:06:27.984900"], ["updated_at", "2016-02-16 02:06:27.985757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:06:22.984973"], ["updated_at", "2016-02-16 02:06:27.987514"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:09:27.985000"], ["updated_at", "2016-02-16 02:06:27.989074"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.031553"], ["updated_at", "2016-02-16 02:08:12.031553"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.035714"], ["updated_at", "2016-02-16 02:08:12.035714"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.037589"], ["updated_at", "2016-02-16 02:08:12.037589"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:12.039159"], ["updated_at", "2016-02-16 02:08:12.039159"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:12.040754"], ["updated_at", "2016-02-16 02:08:12.040754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.045855"], ["updated_at", "2016-02-16 02:08:12.045855"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.047761"], ["updated_at", "2016-02-16 02:08:12.047761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.049303"], ["updated_at", "2016-02-16 02:08:12.049303"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:12.050806"], ["updated_at", "2016-02-16 02:08:12.050806"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:12.052324"], ["updated_at", "2016-02-16 02:08:12.052324"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:08:12.054099"], ["updated_at", "2016-02-16 02:08:12.054099"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:08:12.055706"], ["updated_at", "2016-02-16 02:08:12.055706"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:08:12.057280"], ["updated_at", "2016-02-16 02:08:12.057280"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:08:12.058763"], ["updated_at", "2016-02-16 02:08:12.058763"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.5ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.063473"], ["updated_at", "2016-02-16 02:08:12.063473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.065200"], ["updated_at", "2016-02-16 02:08:12.065200"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:12.066724"], ["updated_at", "2016-02-16 02:08:12.066724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:12.068134"], ["updated_at", "2016-02-16 02:08:12.068134"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:12.069871"], ["updated_at", "2016-02-16 02:08:12.069871"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:08:12.071449"], ["updated_at", "2016-02-16 02:08:12.071449"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-16 02:08:12.078029"], ["updated_at", "2016-02-16 02:08:12.078029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-16 02:08:12.080551"], ["updated_at", "2016-02-16 02:08:12.080551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:08:12.082235"], ["updated_at", "2016-02-16 02:08:12.082235"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:08:12.083836"], ["updated_at", "2016-02-16 02:08:12.083836"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:08:12.085588"], ["updated_at", "2016-02-16 02:08:12.085588"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:08:12.088343"], ["updated_at", "2016-02-16 02:08:12.088343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:08:12.090482"], ["updated_at", "2016-02-16 02:08:12.090482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:08:12.091915"], ["updated_at", "2016-02-16 02:08:12.091915"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:08:12.093476"], ["updated_at", "2016-02-16 02:08:12.093476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:08:12.094884"], ["updated_at", "2016-02-16 02:08:12.094884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:08:12.096171"], ["updated_at", "2016-02-16 02:08:12.096171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, posts.title AS _report_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author, _report_dimension_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:08:12.101263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:08:12.103017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-16 02:08:12.104370"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-16 02:08:12.112296"], ["updated_at", "2016-02-16 02:08:12.113049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:08:07.112356"], ["updated_at", "2016-02-16 02:08:12.114682"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:11:12.112370"], ["updated_at", "2016-02-16 02:08:12.116192"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK Post Load (0.2ms) SELECT "posts".* FROM "posts" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.139147"], ["updated_at", "2016-02-16 02:08:25.139147"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.143268"], ["updated_at", "2016-02-16 02:08:25.143268"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.144893"], ["updated_at", "2016-02-16 02:08:25.144893"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:25.146416"], ["updated_at", "2016-02-16 02:08:25.146416"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:25.148004"], ["updated_at", "2016-02-16 02:08:25.148004"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.153134"], ["updated_at", "2016-02-16 02:08:25.153134"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.154932"], ["updated_at", "2016-02-16 02:08:25.154932"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.156444"], ["updated_at", "2016-02-16 02:08:25.156444"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:25.157943"], ["updated_at", "2016-02-16 02:08:25.157943"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:25.159385"], ["updated_at", "2016-02-16 02:08:25.159385"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:08:25.160906"], ["updated_at", "2016-02-16 02:08:25.160906"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:08:25.162371"], ["updated_at", "2016-02-16 02:08:25.162371"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:08:25.163872"], ["updated_at", "2016-02-16 02:08:25.163872"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Chester"], ["created_at", "2016-02-16 02:08:25.165427"], ["updated_at", "2016-02-16 02:08:25.165427"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Alice')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.5ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IN ('Chester','Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.170029"], ["updated_at", "2016-02-16 02:08:25.170029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.171750"], ["updated_at", "2016-02-16 02:08:25.171750"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-02-16 02:08:25.173229"], ["updated_at", "2016-02-16 02:08:25.173229"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:25.174795"], ["updated_at", "2016-02-16 02:08:25.174795"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-02-16 02:08:25.176306"], ["updated_at", "2016-02-16 02:08:25.176306"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:08:25.177732"], ["updated_at", "2016-02-16 02:08:25.177732"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS FIRST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.2ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Bob')) GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "I"], ["created_at", "2016-02-16 02:08:25.184137"], ["updated_at", "2016-02-16 02:08:25.184137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Bob"], ["title", "II"], ["created_at", "2016-02-16 02:08:25.186235"], ["updated_at", "2016-02-16 02:08:25.186235"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:08:25.188344"], ["updated_at", "2016-02-16 02:08:25.188344"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:08:25.189979"], ["updated_at", "2016-02-16 02:08:25.189979"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "I"], ["created_at", "2016-02-16 02:08:25.191469"], ["updated_at", "2016-02-16 02:08:25.191469"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:08:25.193016"], ["updated_at", "2016-02-16 02:08:25.193016"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Alice"], ["title", "III"], ["created_at", "2016-02-16 02:08:25.194636"], ["updated_at", "2016-02-16 02:08:25.194636"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:08:25.196267"], ["updated_at", "2016-02-16 02:08:25.196267"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:08:25.197848"], ["updated_at", "2016-02-16 02:08:25.197848"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:08:25.199383"], ["updated_at", "2016-02-16 02:08:25.199383"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["author", "Chester"], ["title", "II"], ["created_at", "2016-02-16 02:08:25.200943"], ["updated_at", "2016-02-16 02:08:25.200943"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _report_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author ORDER BY author ASC NULLS LAST  (0.5ms) SELECT posts.author AS _report_dimension_author, posts.title AS _report_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _report_dimension_author, _report_dimension_title ORDER BY author ASC NULLS LAST, title ASC NULLS LAST  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:08:25.207979"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:54.000000"], ["updated_at", "2016-02-16 02:08:25.209725"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-10 03:38:55.000000"], ["updated_at", "2016-02-16 02:08:25.211256"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (6.1ms) SELECT _report_created_at_bins.range AS _report_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-02-10T03:38:54Z,2016-02-10T03:38:55Z)'::tstzrange AS range UNION SELECT '[2016-02-10T03:38:55Z,2016-02-10T03:38:56Z)'::tstzrange AS range) AS _report_created_at_bins ON (CASE WHEN _report_created_at_bins.range IS NULL THEN (posts.created_at IS NULL) ELSE _report_created_at_bins.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _report_dimension_created_at  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-02-16 02:08:25.233243"], ["updated_at", "2016-02-16 02:08:25.234119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:08:20.233333"], ["updated_at", "2016-02-16 02:08:25.235845"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-16 02:11:25.233353"], ["updated_at", "2016-02-16 02:08:25.237372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (10.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (3.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (3.1ms) SELECT MIN(posts.likes) FROM "posts"  (2.5ms) SAVEPOINT active_record_1 SQL (32.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-02-29 04:07:23.136889"], ["updated_at", "2016-02-29 04:07:23.136889"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-02-29 04:07:23.185009"], ["updated_at", "2016-02-29 04:07:23.185009"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT MIN(posts.likes) FROM "posts"  (1.0ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-02-29 04:09:29.707962"], ["updated_at", "2016-02-29 04:09:29.707962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-02-29 04:09:29.715051"], ["updated_at", "2016-02-29 04:09:29.715051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-02-29 04:09:40.482633"], ["updated_at", "2016-02-29 04:09:40.482633"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-02-29 04:09:40.493140"], ["updated_at", "2016-02-29 04:09:40.493140"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-02-29 04:09:40.496653"], ["updated_at", "2016-02-29 04:09:40.496653"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) SELECT MIN(posts.likes) FROM "posts"  (0.8ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-02-29 04:44:17.521314"], ["updated_at", "2016-02-29 04:44:17.521314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-02-29 04:44:17.529987"], ["updated_at", "2016-02-29 04:44:17.529987"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-02-29 04:44:17.531777"], ["updated_at", "2016-02-29 04:44:17.531777"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (1.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.7ms) SELECT MAX(posts.likes) FROM "posts"  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-02-29 04:46:56.987589"], ["updated_at", "2016-02-29 04:46:56.987589"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-02-29 04:46:56.998247"], ["updated_at", "2016-02-29 04:46:56.998247"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-02-29 04:46:57.001642"], ["updated_at", "2016-02-29 04:46:57.001642"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.9ms) SELECT MIN(posts.likes) FROM "posts"  (0.7ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-02-29 04:47:37.019957"], ["updated_at", "2016-02-29 04:47:37.019957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-02-29 04:47:37.028081"], ["updated_at", "2016-02-29 04:47:37.028081"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-02-29 04:47:37.029783"], ["updated_at", "2016-02-29 04:47:37.029783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-02-29 04:48:22.626909"], ["updated_at", "2016-02-29 04:48:22.626909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-02-29 04:48:22.634515"], ["updated_at", "2016-02-29 04:48:22.634515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-02-29 04:48:22.636202"], ["updated_at", "2016-02-29 04:48:22.636202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.9ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-02-29 04:49:57.225252"], ["updated_at", "2016-02-29 04:49:57.225252"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-02-29 04:49:57.236697"], ["updated_at", "2016-02-29 04:49:57.236697"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-02-29 04:49:57.240146"], ["updated_at", "2016-02-29 04:49:57.240146"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (6.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) BEGIN  (2.7ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (3.8ms) SELECT MIN(posts.likes) FROM "posts"  (1.1ms) SELECT MAX(posts.likes) FROM "posts"  (3.7ms) SAVEPOINT active_record_1 SQL (5.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 14:00:07.943291"], ["updated_at", "2016-03-02 14:00:07.943291"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 14:00:07.963508"], ["updated_at", "2016-03-02 14:00:07.963508"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 14:00:07.966916"], ["updated_at", "2016-03-02 14:00:07.966916"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) SELECT MIN(posts.likes) FROM "posts"  (0.7ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 14:03:03.541898"], ["updated_at", "2016-03-02 14:03:03.541898"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 14:03:03.554748"], ["updated_at", "2016-03-02 14:03:03.554748"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 14:03:03.558025"], ["updated_at", "2016-03-02 14:03:03.558025"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (1.0ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 14:03:25.923505"], ["updated_at", "2016-03-02 14:03:25.923505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 14:03:25.932891"], ["updated_at", "2016-03-02 14:03:25.932891"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 14:03:25.934828"], ["updated_at", "2016-03-02 14:03:25.934828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 14:05:09.996495"], ["updated_at", "2016-03-02 14:05:09.996495"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 14:05:10.004039"], ["updated_at", "2016-03-02 14:05:10.004039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 14:05:10.005919"], ["updated_at", "2016-03-02 14:05:10.005919"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 14:05:29.402459"], ["updated_at", "2016-03-02 14:05:29.402459"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 14:05:29.406858"], ["updated_at", "2016-03-02 14:05:29.406858"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 14:05:29.408668"], ["updated_at", "2016-03-02 14:05:29.408668"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT MIN(posts.likes) FROM "posts"  (0.7ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 18:02:47.677126"], ["updated_at", "2016-03-02 18:02:47.677126"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 18:02:47.685592"], ["updated_at", "2016-03-02 18:02:47.685592"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 18:02:47.687270"], ["updated_at", "2016-03-02 18:02:47.687270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 18:02:53.992744"], ["updated_at", "2016-03-02 18:02:53.992744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 18:02:53.996797"], ["updated_at", "2016-03-02 18:02:53.996797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 18:02:53.998446"], ["updated_at", "2016-03-02 18:02:53.998446"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (1.0ms) SELECT MIN(posts.likes) FROM "posts"  (0.7ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:45:27.974808"], ["updated_at", "2016-03-02 23:45:27.974808"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:45:27.985106"], ["updated_at", "2016-03-02 23:45:27.985106"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:45:27.988694"], ["updated_at", "2016-03-02 23:45:27.988694"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:46:07.162454"], ["updated_at", "2016-03-02 23:46:07.162454"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:46:07.166947"], ["updated_at", "2016-03-02 23:46:07.166947"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:46:07.168826"], ["updated_at", "2016-03-02 23:46:07.168826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:46:56.493629"], ["updated_at", "2016-03-02 23:46:56.493629"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:46:56.498264"], ["updated_at", "2016-03-02 23:46:56.498264"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:46:56.500182"], ["updated_at", "2016-03-02 23:46:56.500182"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:47:10.912732"], ["updated_at", "2016-03-02 23:47:10.912732"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:47:10.917374"], ["updated_at", "2016-03-02 23:47:10.917374"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:47:10.919245"], ["updated_at", "2016-03-02 23:47:10.919245"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:47:48.848181"], ["updated_at", "2016-03-02 23:47:48.848181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:47:48.852442"], ["updated_at", "2016-03-02 23:47:48.852442"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:47:48.854399"], ["updated_at", "2016-03-02 23:47:48.854399"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:48:11.551564"], ["updated_at", "2016-03-02 23:48:11.551564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:48:11.555926"], ["updated_at", "2016-03-02 23:48:11.555926"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:48:11.557816"], ["updated_at", "2016-03-02 23:48:11.557816"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:50:49.982699"], ["updated_at", "2016-03-02 23:50:49.982699"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:50:49.987012"], ["updated_at", "2016-03-02 23:50:49.987012"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:50:49.988924"], ["updated_at", "2016-03-02 23:50:49.988924"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:51:14.138605"], ["updated_at", "2016-03-02 23:51:14.138605"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:51:14.142894"], ["updated_at", "2016-03-02 23:51:14.142894"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:51:14.144580"], ["updated_at", "2016-03-02 23:51:14.144580"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:51:50.125029"], ["updated_at", "2016-03-02 23:51:50.125029"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:51:50.129168"], ["updated_at", "2016-03-02 23:51:50.129168"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:51:50.131388"], ["updated_at", "2016-03-02 23:51:50.131388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:54:29.262114"], ["updated_at", "2016-03-02 23:54:29.262114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:54:29.266421"], ["updated_at", "2016-03-02 23:54:29.266421"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:54:29.268213"], ["updated_at", "2016-03-02 23:54:29.268213"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:55:02.518901"], ["updated_at", "2016-03-02 23:55:02.518901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:55:02.523423"], ["updated_at", "2016-03-02 23:55:02.523423"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:55:02.525285"], ["updated_at", "2016-03-02 23:55:02.525285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:55:11.023522"], ["updated_at", "2016-03-02 23:55:11.023522"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:55:11.028045"], ["updated_at", "2016-03-02 23:55:11.028045"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:55:11.029901"], ["updated_at", "2016-03-02 23:55:11.029901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:57:16.943133"], ["updated_at", "2016-03-02 23:57:16.943133"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:57:16.947482"], ["updated_at", "2016-03-02 23:57:16.947482"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:57:16.949273"], ["updated_at", "2016-03-02 23:57:16.949273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:57:29.797047"], ["updated_at", "2016-03-02 23:57:29.797047"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:57:29.801148"], ["updated_at", "2016-03-02 23:57:29.801148"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:57:29.802802"], ["updated_at", "2016-03-02 23:57:29.802802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:57:38.877873"], ["updated_at", "2016-03-02 23:57:38.877873"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:57:38.882297"], ["updated_at", "2016-03-02 23:57:38.882297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:57:38.884134"], ["updated_at", "2016-03-02 23:57:38.884134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:58:24.163474"], ["updated_at", "2016-03-02 23:58:24.163474"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:58:24.167805"], ["updated_at", "2016-03-02 23:58:24.167805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:58:24.169501"], ["updated_at", "2016-03-02 23:58:24.169501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:58:56.772238"], ["updated_at", "2016-03-02 23:58:56.772238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:58:56.776602"], ["updated_at", "2016-03-02 23:58:56.776602"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:58:56.778362"], ["updated_at", "2016-03-02 23:58:56.778362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-02 23:59:35.848353"], ["updated_at", "2016-03-02 23:59:35.848353"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-02 23:59:35.852538"], ["updated_at", "2016-03-02 23:59:35.852538"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-02 23:59:35.854481"], ["updated_at", "2016-03-02 23:59:35.854481"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-03 00:00:33.199189"], ["updated_at", "2016-03-03 00:00:33.199189"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-03 00:00:33.203405"], ["updated_at", "2016-03-03 00:00:33.203405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-03 00:00:33.205238"], ["updated_at", "2016-03-03 00:00:33.205238"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-03 00:05:46.104781"], ["updated_at", "2016-03-03 00:05:46.104781"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-03 00:05:46.115528"], ["updated_at", "2016-03-03 00:05:46.115528"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-03 00:05:46.117552"], ["updated_at", "2016-03-03 00:05:46.117552"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-03 00:06:21.345986"], ["updated_at", "2016-03-03 00:06:21.345986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-03 00:06:21.350323"], ["updated_at", "2016-03-03 00:06:21.350323"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-03 00:06:21.352122"], ["updated_at", "2016-03-03 00:06:21.352122"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (6.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) BEGIN  (2.7ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN ActiveRecord::SchemaMigration Load (10.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (4.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) BEGIN  (2.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (2.7ms) SAVEPOINT active_record_1 SQL (10.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 16:29:01.493669"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 16:29:01.520187"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 16:29:01.523530"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (7.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (15.7ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at Post Load (2.6ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at Post Load (0.4ms) SELECT "posts".* FROM "posts" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 16:33:07.941099"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 16:33:07.945170"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 16:33:07.946747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (3.2ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 16:34:47.300211"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 16:34:47.304567"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 16:34:47.306620"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 17:58:43.052541"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 17:58:43.059469"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 17:58:43.063174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (2.3ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 17:58:58.005786"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 17:58:58.010737"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 17:58:58.012624"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 17:59:26.369281"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 17:59:26.373556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 17:59:26.375355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ('(,2015-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 18:01:36.468044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 18:01:36.472408"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 18:01:36.474156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at  (0.7ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ('(,2015-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone))  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ('(,2015-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone)) Post Load (0.3ms) SELECT "posts".* FROM "posts" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE ('(,2015-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone)) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 18:03:51.456145"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 18:03:51.465473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 18:03:51.467308"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ('(,2016-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone))  (0.4ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) WHERE ('(,2016-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 18:05:22.491642"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 18:05:22.496083"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 18:05:22.497868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ('(,2016-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone))  (0.4ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) WHERE ('(,2016-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ('(,2015-12-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-06 18:17:17.454641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-06 18:17:17.458989"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-06 18:17:17.460652"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range UNION SELECT '[2016-02-01T00:00:00Z,2016-03-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ('(,2016-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone))  (0.4ms) SELECT _repor_dimension_created_at__bin_table.range AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '[2016-01-01T00:00:00Z,2016-02-01T00:00:00Z)'::tstzrange AS range) AS _repor_dimension_created_at__bin_table ON (CASE WHEN _repor_dimension_created_at__bin_table.range IS NULL THEN (posts.created_at IS NULL) ELSE _repor_dimension_created_at__bin_table.range @> CAST(posts.created_at AS timestamp with time zone) END) WHERE ('(,2016-02-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ('(,2015-12-01T00:00:00Z)'::tstzrange @> CAST(posts.created_at AS timestamp with time zone))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-06 18:17:25.186196"], ["updated_at", "2016-03-06 18:17:25.186196"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-06 18:17:25.190728"], ["updated_at", "2016-03-06 18:17:25.190728"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-06 18:17:25.194051"], ["updated_at", "2016-03-06 18:17:25.194051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (11.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) BEGIN  (2.2ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:49:14.802257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:49:14.818851"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:49:14.821346"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:52:51.257405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:52:51.261966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:52:51.263659"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:53:20.914862"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:53:20.925706"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:53:20.929145"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:54:29.787232"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:54:29.791391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:54:29.792938"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:55:06.613594"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:55:06.617892"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:55:06.619555"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:55:46.420923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:55:46.425128"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:55:46.426890"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" Post Load (0.4ms) SELECT "posts".* FROM "posts" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:56:02.509790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:56:02.514029"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:56:02.515697"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.7ms) SELECT bin_table_for__repor_dimension_created_at.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN SELECT '2016-01-01 00:00:00.000000' AS min, '2016-02-01 00:00:00.000000' AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT '2016-02-01 00:00:00.000000' AS min, '2016-03-01 00:00:00.000000' AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin AS bin_table_for__repor_dimension_created_at ON (CASE WHEN bin_table_for__repor_dimension_created_at.min IS NULL AND bin_table_for__repor_dimension_created_at.max IS NULL THEN (posts.created_at IS NULL) WHEN bin_table_for__repor_dimension_created_at.min IS NULL THEN (posts.created_at < bin_table_for__repor_dimension_created_at.max) WHEN bin_table_for__repor_dimension_created_at.max IS NULL THEN (posts.created_at >= bin_table_for__repor_dimension_created_at.min) ELSE ((posts.created_at >= bin_table_for__repor_dimension_created_at.min) AND (posts.created_at < bin_table_for__repor_dimension_created_at.max)) END) GROUP BY _repor_dimension_created_at PG::SyntaxError: ERROR: syntax error at or near "SELECT" LINE 1: ... _report_aggregator_count FROM "posts" INNER JOIN SELECT '20... ^ : SELECT bin_table_for__repor_dimension_created_at.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN SELECT '2016-01-01 00:00:00.000000' AS min, '2016-02-01 00:00:00.000000' AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT '2016-02-01 00:00:00.000000' AS min, '2016-03-01 00:00:00.000000' AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin AS bin_table_for__repor_dimension_created_at ON (CASE WHEN bin_table_for__repor_dimension_created_at.min IS NULL AND bin_table_for__repor_dimension_created_at.max IS NULL THEN (posts.created_at IS NULL) WHEN bin_table_for__repor_dimension_created_at.min IS NULL THEN (posts.created_at < bin_table_for__repor_dimension_created_at.max) WHEN bin_table_for__repor_dimension_created_at.max IS NULL THEN (posts.created_at >= bin_table_for__repor_dimension_created_at.min) ELSE ((posts.created_at >= bin_table_for__repor_dimension_created_at.min) AND (posts.created_at < bin_table_for__repor_dimension_created_at.max)) END) GROUP BY _repor_dimension_created_at  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:57:00.325597"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:57:00.329968"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:57:00.331584"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (3.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '2016-01-01 00:00:00.000000' AS min, '2016-02-01 00:00:00.000000' AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT '2016-02-01 00:00:00.000000' AS min, '2016-03-01 00:00:00.000000' AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at PG::UndefinedFunction: ERROR: operator does not exist: timestamp without time zone < text LINE 4: ...d_at_bin_table.min IS NULL THEN (posts.created_at < _repor_d... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '2016-01-01 00:00:00.000000' AS min, '2016-02-01 00:00:00.000000' AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT '2016-02-01 00:00:00.000000' AS min, '2016-03-01 00:00:00.000000' AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:57:45.308064"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:57:45.312494"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:57:45.314305"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS timestamp with time zone) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS timestamp with time zone) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at PG::InvalidDatetimeFormat: ERROR: invalid input syntax for type timestamp with time zone: "2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC" LINE 1: ...000000' AS timestamp with time zone) AS max, CAST('2016-01-0... ^ : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS timestamp with time zone) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS timestamp with time zone) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:02.880644"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:02.884923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:02.886556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS timestamp) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS timestamp) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at PG::InvalidDatetimeFormat: ERROR: invalid input syntax for type timestamp: "2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC" LINE 1: ...02-01 00:00:00.000000' AS timestamp) AS max, CAST('2016-01-0... ^ : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS timestamp) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS timestamp) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:29.938844"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:29.943345"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:29.945117"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (1.1ms) SELECT MAX(posts.created_at) FROM "posts"  (9.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:39.858154"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:39.862598"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:58:39.864340"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (4.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:59:49.362145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 02:59:49.366602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 02:59:49.368302"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:02:14.635404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:02:14.639694"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:02:14.641300"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:01.629493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:01.634208"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:01.636044"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone))  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:15.749183"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:15.753539"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:15.755808"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone))  (1.8ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:36.757078"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:36.761487"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:36.763438"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:57.485068"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:57.489161"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:04:57.490799"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (1.9ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone))  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:11.857944"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:11.862144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:11.863832"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:35.930208"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:35.934601"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:35.936480"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:56.466427"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:56.470744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:05:56.472429"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone))  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:06:37.606244"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:06:37.610528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:06:37.612242"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:08:39.139205"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:08:39.143670"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:08:39.145446"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:09:30.168589"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:09:30.172908"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:09:30.174525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone))  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:09:45.383047"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:09:45.387409"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:09:45.389096"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" Post Load (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at Post Load (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at Post Load (0.9ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at Post Load (0.9ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (1.0ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone))  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone)) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:14:58.998892"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:14:59.005244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:14:59.007031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '2016-01-01 00:00:00.000000' AS min, '2016-02-01 00:00:00.000000' AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT '2016-02-01 00:00:00.000000' AS min, '2016-03-01 00:00:00.000000' AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at PG::UndefinedFunction: ERROR: operator does not exist: timestamp without time zone < text LINE 4: ...d_at_bin_table.min IS NULL THEN (posts.created_at < _repor_d... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT '2016-01-01 00:00:00.000000' AS min, '2016-02-01 00:00:00.000000' AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT '2016-02-01 00:00:00.000000' AS min, '2016-03-01 00:00:00.000000' AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:15:17.119530"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:15:17.124090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:15:17.125895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:37:35.982137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:37:35.987322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:37:35.989062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:06.545653"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:06.550150"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:06.552079"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (2.0ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:25.978962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:25.983653"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:25.985411"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.9ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:57.824978"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:57.829144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:38:57.830888"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:39:23.657051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:39:23.661754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:39:23.663610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.8ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at PG::InternalError: ERROR: failed to find conversion function from unknown to text : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:00.597706"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:00.604433"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:00.606869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.7ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:12.378958"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:12.383852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:12.385496"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.7ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:47.766402"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:47.772944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:47.774688"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin" ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at PG::SyntaxError: ERROR: syntax error at or near "" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin"" LINE 5: ...01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" ^ : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin" ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:56.884998"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:56.892792"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:40:56.896292"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin" ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at PG::SyntaxError: ERROR: syntax error at or near "" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin"" LINE 4: ...01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" ^ : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin" ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:02.598631"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:02.603135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:02.604783"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin" ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at PG::SyntaxError: ERROR: syntax error at or near "" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin"" LINE 2: ...01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" ^ : SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin" UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin" ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:16.299241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:16.303655"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:16.305459"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.7ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:38.801340"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:38.805930"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:38.807666"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (2.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:46.610646"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:46.619078"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:41:46.621754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:11.402114"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:11.407142"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:11.409057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:25.727749"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:25.732483"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:25.734374"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.7ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:51.226633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:51.231242"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:42:51.232983"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:13.483167"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:13.489716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:13.491697"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.9ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:26.556393"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:26.560788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:26.562475"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:39.454133"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:39.458650"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:39.460327"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:50.054823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:50.059376"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:43:50.061083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:05.176990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:05.181599"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:05.183313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.8ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:18.162694"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:18.170780"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:18.175878"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.7ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.0ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.7ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:24.053012"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:24.057724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:24.059315"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.9ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:34.956612"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:34.961012"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:44:34.962695"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:45:31.735103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 03:45:31.739831"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 03:45:31.741429"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:24.796171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:24.800712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:24.802409"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.8ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:34.374132"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:34.379655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:34.381325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:44.149876"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:44.154220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:03:44.156303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (2.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:17.413037"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:17.417741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:17.419482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:33.750799"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:33.755295"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:33.757441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:45.893212"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:45.899049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:45.900894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:57.856547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:57.861186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:04:57.862964"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:13.068814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:13.073104"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:13.075017"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.0ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:42.450556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:42.455373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:42.457403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:50.624964"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:50.629881"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:05:50.631700"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (1.0ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:04.847356"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:04.851790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:04.853599"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:26.295469"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:26.299915"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:26.301791"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.8ms) SELECT MAX(posts.created_at) FROM "posts"  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:36.766869"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:36.771302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:06:36.773169"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:09:27.673795"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:09:27.678333"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:09:27.680029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:10:12.213718"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:10:12.217963"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:10:12.219632"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:10:47.234648"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:10:47.238852"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:10:47.240695"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.7ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:11:02.403968"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:11:02.409190"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:11:02.410737"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:11:14.725884"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:11:14.730778"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:11:14.732507"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (3.0ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:03.708625"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:03.712967"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:03.714601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:26.517177"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:26.522527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:26.524964"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:56.184316"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:56.188770"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:12:56.190786"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:11.867269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:11.871819"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:11.873600"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.0ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:31.161903"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:31.166229"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:31.167955"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:37.212724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:37.217323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:37.219039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:58.543622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:58.548170"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:13:58.549908"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (2.0ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:12.035968"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:12.040720"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:12.042598"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.9ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:22.868317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:22.873017"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:22.875705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.8ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:41.480734"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:41.485230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:41.487027"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.8ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:52.568452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:52.573439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:14:52.575401"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:06.529830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:06.534052"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:06.535739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts"  (2.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:13.910291"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:13.914867"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:13.916538"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:28.494438"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:28.498782"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:15:28.501162"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:16:04.335655"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:16:04.340412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:16:04.342112"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.8ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:04.678225"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:04.683304"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:04.685505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (2.0ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.8ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:16.952415"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:16.957779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:16.959605"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (1.0ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:50.490308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:50.495681"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:17:50.497738"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.7ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:01.586610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:01.591417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:01.593118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:15.523044"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:15.529105"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:15.531193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (3.0ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:22.204345"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:22.208960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:22.210672"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:30.086179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:30.091119"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:30.092809"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (1.0ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:39.924493"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:39.929195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:18:39.931103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:20:24.055829"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:20:24.060300"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:20:24.061954"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:20:38.133289"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:20:38.137521"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:20:38.139173"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:21:18.600265"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:21:18.608924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:21:18.610731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.0ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:02.487153"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:02.491573"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:02.493713"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:16.143335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:16.154043"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:16.156468"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT MIN(posts.created_at) FROM "posts"  (0.7ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:31.909525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:31.914520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:22:31.916254"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:23:00.502958"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:23:00.507444"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:23:00.509266"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:23:15.853824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:23:15.858360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:23:15.860294"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (3.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:12.731208"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:12.735596"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:12.737341"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:22.626758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:22.631148"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:22.632762"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:42.295501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:42.299869"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:42.301514"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:57.180317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:57.184493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:24:57.186072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:03.321925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:03.326509"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:03.328206"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:12.923495"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:12.928148"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:12.929828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:40.392639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:40.397192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:40.398935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:51.457835"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:51.462130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:25:51.463719"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:26:31.413501"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:26:31.417798"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:26:31.419355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:26:40.620314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:26:40.624692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:26:40.626564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:27:01.325510"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:27:01.329952"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:27:01.331530"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' )  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE ( posts.created_at < '2016-02-01 00:00:00.000000' ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE ( posts.created_at < '2015-12-01 00:00:00.000000' )  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:29:26.518846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 04:29:26.523000"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 04:29:26.524821"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (6.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:45:26.918904"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 17:45:26.942367"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:45:26.948409"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SELECT MIN(posts.created_at) FROM "posts"  (0.8ms) SELECT MAX(posts.created_at) FROM "posts"  (3.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.9ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.3ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:46:53.356339"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 17:46:53.373222"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:46:53.378198"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:47:29.092901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 17:47:29.102413"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:47:29.104470"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SELECT MIN(posts.created_at) FROM "posts"  (2.0ms) SELECT MAX(posts.created_at) FROM "posts"  (1.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (2.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (1.9ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:48:14.326114"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 17:48:14.337725"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:48:14.345471"]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:48:21.572765"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 17:48:21.594481"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:48:21.599166"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT MIN(posts.created_at) FROM "posts"  (1.6ms) SELECT MAX(posts.created_at) FROM "posts"  (2.2ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (1.2ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.9ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (1.0ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.7ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.4ms) BEGIN  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (1.0ms) ROLLBACK  (0.8ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.6ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:53:37.764995"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-08 17:53:37.784491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-08 17:53:37.786944"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (1.9ms) SELECT MAX(posts.created_at) FROM "posts"  (3.4ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (1.9ms) SELECT _repor_dimension_created_at_bin_table.bin AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (1.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) BEGIN ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (2.5ms) SAVEPOINT active_record_1 SQL (7.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:06:27.252306"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:06:27.272085"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:06:27.275384"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:06:59.470194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:06:59.474756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:06:59.476519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (4.8ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.7ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:07:38.760828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:07:38.764942"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:07:38.766557"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:08:18.655337"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:08:18.660412"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:08:18.662108"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at Post Load (0.4ms) SELECT "posts".* FROM "posts" Post Load (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:09:16.098094"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:09:16.102332"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:09:16.103919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (2.0ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:10:47.163128"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:10:47.167347"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:10:47.172313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.5ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:10:56.657521"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:10:56.661687"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:10:56.663314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:11:14.297905"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:11:14.302226"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:11:14.303887"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:12:10.817645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:12:10.822304"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:12:10.824055"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.8ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:13:19.355783"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:13:19.359909"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:13:19.361563"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:13:45.424744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:13:45.429086"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:13:45.430835"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:15:07.043089"], ["updated_at", "2016-03-11 23:15:07.043089"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:15:07.046119"], ["updated_at", "2016-03-11 23:15:07.046119"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:15:07.048171"], ["updated_at", "2016-03-11 23:15:07.048171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:15:07.148341"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:15:07.150327"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:15:07.151967"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:16:07.007810"], ["updated_at", "2016-03-11 23:16:07.007810"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:16:07.011123"], ["updated_at", "2016-03-11 23:16:07.011123"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:16:07.013040"], ["updated_at", "2016-03-11 23:16:07.013040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:16:07.055255"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:16:07.057508"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:16:07.059166"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (2.3ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:16:45.519095"], ["updated_at", "2016-03-11 23:16:45.519095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:16:45.522168"], ["updated_at", "2016-03-11 23:16:45.522168"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:16:45.523856"], ["updated_at", "2016-03-11 23:16:45.523856"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:16:45.567266"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:16:45.570269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:16:45.571847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:17:27.343034"], ["updated_at", "2016-03-11 23:17:27.343034"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:17:27.346076"], ["updated_at", "2016-03-11 23:17:27.346076"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:17:27.347769"], ["updated_at", "2016-03-11 23:17:27.347769"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:27.388216"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:27.390334"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:27.391990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (2.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:17:52.929156"], ["updated_at", "2016-03-11 23:17:52.929156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:17:52.932570"], ["updated_at", "2016-03-11 23:17:52.932570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:17:52.935440"], ["updated_at", "2016-03-11 23:17:52.935440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:52.982346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:52.984602"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:52.987771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.5ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:17:57.934258"], ["updated_at", "2016-03-11 23:17:57.934258"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:17:57.937333"], ["updated_at", "2016-03-11 23:17:57.937333"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:17:57.939141"], ["updated_at", "2016-03-11 23:17:57.939141"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:57.980789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:57.982877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:17:57.984508"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:18:22.682209"], ["updated_at", "2016-03-11 23:18:22.682209"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:18:22.685507"], ["updated_at", "2016-03-11 23:18:22.685507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:18:22.687413"], ["updated_at", "2016-03-11 23:18:22.687413"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:22.727700"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:22.729810"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:22.731393"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:18:48.326663"], ["updated_at", "2016-03-11 23:18:48.326663"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:18:48.329842"], ["updated_at", "2016-03-11 23:18:48.329842"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:18:48.331676"], ["updated_at", "2016-03-11 23:18:48.331676"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:48.391770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:48.393577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:48.395029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:18:56.408078"], ["updated_at", "2016-03-11 23:18:56.408078"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:18:56.411188"], ["updated_at", "2016-03-11 23:18:56.411188"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:18:56.413032"], ["updated_at", "2016-03-11 23:18:56.413032"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:56.444180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:56.446298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:18:56.447972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:20:43.696158"], ["updated_at", "2016-03-11 23:20:43.696158"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:20:43.699426"], ["updated_at", "2016-03-11 23:20:43.699426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:20:43.702234"], ["updated_at", "2016-03-11 23:20:43.702234"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:20:43.714515"], ["updated_at", "2016-03-11 23:20:43.714515"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:20:43.736498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:20:43.738636"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:20:43.740348"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:21:13.861922"], ["updated_at", "2016-03-11 23:21:13.861922"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:21:13.864725"], ["updated_at", "2016-03-11 23:21:13.864725"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:21:13.867021"], ["updated_at", "2016-03-11 23:21:13.867021"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:21:13.878801"], ["updated_at", "2016-03-11 23:21:13.878801"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:13.899744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:13.901779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:13.903256"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:21:25.609180"], ["updated_at", "2016-03-11 23:21:25.609180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:21:25.611998"], ["updated_at", "2016-03-11 23:21:25.611998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:21:25.614053"], ["updated_at", "2016-03-11 23:21:25.614053"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:21:25.626240"], ["updated_at", "2016-03-11 23:21:25.626240"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:25.647180"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:25.649227"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:25.650778"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:21:49.807463"], ["updated_at", "2016-03-11 23:21:49.807463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:21:49.810294"], ["updated_at", "2016-03-11 23:21:49.810294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:21:49.812290"], ["updated_at", "2016-03-11 23:21:49.812290"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:21:49.825729"], ["updated_at", "2016-03-11 23:21:49.825729"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:49.870097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:49.871896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:49.873257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-11 23:21:58.983187"], ["updated_at", "2016-03-11 23:21:58.983187"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-11 23:21:58.986493"], ["updated_at", "2016-03-11 23:21:58.986493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-11 23:21:58.988239"], ["updated_at", "2016-03-11 23:21:58.988239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-03-11 23:21:58.999043"], ["updated_at", "2016-03-11 23:21:58.999043"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:59.019676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:59.021574"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-11 23:21:59.023062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN (SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text) AS _repor_dimension_created_at_bin_table ON (CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) BEGIN  (3.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (3.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (2.4ms) SAVEPOINT active_record_1 SQL (4.9ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-12 23:24:08.610840"], ["updated_at", "2016-03-12 23:24:08.610840"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-12 23:24:08.621149"], ["updated_at", "2016-03-12 23:24:08.621149"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-12 23:24:08.624390"], ["updated_at", "2016-03-12 23:24:08.624390"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-03-12 23:24:08.686423"], ["updated_at", "2016-03-12 23:24:08.686423"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-12 23:24:08.734498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-12 23:24:08.740538"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-12 23:24:08.742870"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (6.2ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (1.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-12 23:25:37.731056"], ["updated_at", "2016-03-12 23:25:37.731056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-12 23:25:37.733981"], ["updated_at", "2016-03-12 23:25:37.733981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-12 23:25:37.735712"], ["updated_at", "2016-03-12 23:25:37.735712"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-03-12 23:25:37.746975"], ["updated_at", "2016-03-12 23:25:37.746975"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-12 23:25:37.769525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-12 23:25:37.771609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-12 23:25:37.773020"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-03-12 23:30:32.841433"], ["updated_at", "2016-03-12 23:30:32.841433"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-03-12 23:30:32.845199"], ["updated_at", "2016-03-12 23:30:32.845199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-03-12 23:30:32.846870"], ["updated_at", "2016-03-12 23:30:32.846870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms)[0m BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-03-12 23:30:32.857993"], ["updated_at", "2016-03-12 23:30:32.857993"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:30:32.863452"], ["updated_at", "2016-03-12 23:30:32.863452"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:30:32.865374"], ["updated_at", "2016-03-12 23:30:32.865374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:30:32.866951"], ["updated_at", "2016-03-12 23:30:32.866951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice'))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-12 23:30:32.886724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["updated_at", "2016-03-12 23:30:32.888543"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-02-01 00:00:00.000000"], ["updated_at", "2016-03-12 23:30:32.890048"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2016-02-01 00:00:00.000000')  (0.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) WHERE (posts.created_at < '2016-02-01 00:00:00.000000') GROUP BY _repor_dimension_created_at  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" WHERE (posts.created_at < '2015-12-01 00:00:00.000000')  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:30:41.842861"], ["updated_at", "2016-03-12 23:30:41.842861"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:30:41.847088"], ["updated_at", "2016-03-12 23:30:41.847088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:30:41.848793"], ["updated_at", "2016-03-12 23:30:41.848793"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice'))  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:32:16.059725"], ["updated_at", "2016-03-12 23:32:16.059725"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:32:16.064101"], ["updated_at", "2016-03-12 23:32:16.064101"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:32:16.065890"], ["updated_at", "2016-03-12 23:32:16.065890"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:32:25.649513"], ["updated_at", "2016-03-12 23:32:25.649513"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:32:25.654136"], ["updated_at", "2016-03-12 23:32:25.654136"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:32:25.655813"], ["updated_at", "2016-03-12 23:32:25.655813"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:32:37.839251"], ["updated_at", "2016-03-12 23:32:37.839251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:32:37.843379"], ["updated_at", "2016-03-12 23:32:37.843379"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:32:37.845028"], ["updated_at", "2016-03-12 23:32:37.845028"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:35:14.132953"], ["updated_at", "2016-03-12 23:35:14.132953"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:35:14.137312"], ["updated_at", "2016-03-12 23:35:14.137312"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:35:14.139029"], ["updated_at", "2016-03-12 23:35:14.139029"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:35:14.146831"], ["updated_at", "2016-03-12 23:35:14.146831"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:35:14.148761"], ["updated_at", "2016-03-12 23:35:14.148761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:35:14.150459"], ["updated_at", "2016-03-12 23:35:14.150459"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:35:14.152060"], ["updated_at", "2016-03-12 23:35:14.152060"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:35:14.153691"], ["updated_at", "2016-03-12 23:35:14.153691"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:35:14.155289"], ["updated_at", "2016-03-12 23:35:14.155289"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.7ms) SELECT posts.author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST Post Load (0.7ms) SELECT posts.author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST  (0.6ms) SELECT COUNT(posts.author AS _repor_dimension_author) AS count_posts_author_as__repor_dimension_author, _repor_dimension_author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST PG::SyntaxError: ERROR: syntax error at or near "AS" LINE 1: SELECT COUNT(posts.author AS _repor_dimension_author) AS cou... ^ : SELECT COUNT(posts.author AS _repor_dimension_author) AS count_posts_author_as__repor_dimension_author, _repor_dimension_author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST  (0.6ms) SELECT COUNT("posts"."id") AS count_id, _repor_dimension_author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST PG::InFailedSqlTransaction: ERROR: current transaction is aborted, commands ignored until end of transaction block : SELECT COUNT("posts"."id") AS count_id, _repor_dimension_author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:35:56.085744"], ["updated_at", "2016-03-12 23:35:56.085744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:35:56.090572"], ["updated_at", "2016-03-12 23:35:56.090572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:35:56.092360"], ["updated_at", "2016-03-12 23:35:56.092360"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:35:56.100422"], ["updated_at", "2016-03-12 23:35:56.100422"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:35:56.102185"], ["updated_at", "2016-03-12 23:35:56.102185"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:35:56.103845"], ["updated_at", "2016-03-12 23:35:56.103845"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:35:56.105639"], ["updated_at", "2016-03-12 23:35:56.105639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:35:56.107294"], ["updated_at", "2016-03-12 23:35:56.107294"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:35:56.108844"], ["updated_at", "2016-03-12 23:35:56.108844"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT("posts"."id") AS count_id, _repor_dimension_author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST PG::UndefinedColumn: ERROR: column "_repor_dimension_author" does not exist LINE 1: SELECT COUNT("posts"."id") AS count_id, _repor_dimension_aut... ^ : SELECT COUNT("posts"."id") AS count_id, _repor_dimension_author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:36:17.509679"], ["updated_at", "2016-03-12 23:36:17.509679"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:36:17.514040"], ["updated_at", "2016-03-12 23:36:17.514040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:36:17.515770"], ["updated_at", "2016-03-12 23:36:17.515770"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:36:17.523122"], ["updated_at", "2016-03-12 23:36:17.523122"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-03-12 23:36:17.525021"], ["updated_at", "2016-03-12 23:36:17.525021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-03-12 23:36:17.526915"], ["updated_at", "2016-03-12 23:36:17.526915"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:36:17.528759"], ["updated_at", "2016-03-12 23:36:17.528759"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:36:17.530781"], ["updated_at", "2016-03-12 23:36:17.530781"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-03-12 23:36:17.532401"], ["updated_at", "2016-03-12 23:36:17.532401"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST Post Load (0.6ms) SELECT posts.author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST  (0.6ms) SELECT posts.author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY author ASC NULLS LAST ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2015-01-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:35:03.416689"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2015-01-12 00:00:00.000000"], ["updated_at", "2016-03-13 00:35:03.428351"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2015-01-15 00:00:00.000000"], ["updated_at", "2016-03-13 00:35:03.431930"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2015-02-12 00:00:00.000000"], ["updated_at", "2016-03-13 00:35:03.434713"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2015-03-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:35:03.437280"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.3ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-01-08 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2015-01-08 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-01-08 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-01-15 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-08 00:00:00 UTC,2015-01-15 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-01-15 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-01-22 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-15 00:00:00 UTC,2015-01-22 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-01-22 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-01-29 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-22 00:00:00 UTC,2015-01-29 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-01-29 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-02-05 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-29 00:00:00 UTC,2015-02-05 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-02-05 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-02-12 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-02-05 00:00:00 UTC,2015-02-12 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-02-12 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-02-19 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-02-12 00:00:00 UTC,2015-02-19 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-02-19 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-02-26 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-02-19 00:00:00 UTC,2015-02-26 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-02-26 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-03-05 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-02-26 00:00:00 UTC,2015-03-05 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY author ASC NULLS LAST ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2015-01-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:36:37.326005"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2015-01-12 00:00:00.000000"], ["updated_at", "2016-03-13 00:36:37.337139"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2015-01-15 00:00:00.000000"], ["updated_at", "2016-03-13 00:36:37.340601"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2015-02-12 00:00:00.000000"], ["updated_at", "2016-03-13 00:36:37.343344"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2015-03-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:36:37.345837"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (4.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2015-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-01-01 00:00:00 UTC,2015-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-02-01 00:00:00 UTC,2015-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2015-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2015-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2015-03-01 00:00:00 UTC,2015-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY author ASC NULLS LAST ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:40:03.794271"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-03-13 00:40:03.805044"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-03-13 00:40:03.808520"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:40:03.811834"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT MIN(posts.created_at) FROM "posts"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts"  (2.4ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY author ASC NULLS LAST  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.6ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:40:14.048435"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-03-13 00:40:14.062171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-03-13 00:40:14.064926"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:40:14.067055"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (2.4ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY author ASC NULLS LAST ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:42:24.640789"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-03-13 00:42:24.651549"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-03-13 00:42:24.655026"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-03-13 00:42:24.658307"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT MIN(posts.created_at) FROM "posts"  (0.7ms) SELECT MAX(posts.created_at) FROM "posts"  (2.6ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY author ASC NULLS LAST  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-13 01:23:10.998514"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-03-13 01:23:11.011878"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-03-13 01:23:11.017390"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-03-13 01:23:11.020891"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT MIN(posts.created_at) FROM "posts"  (0.7ms) SELECT MAX(posts.created_at) FROM "posts"  (2.4ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY author ASC NULLS LAST  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-13 01:25:49.572170"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-03-13 01:25:49.583254"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-03-13 01:25:49.587378"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-03-13 01:25:49.590915"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (2.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.7ms) SELECT MAX(posts.created_at) FROM "posts"  (2.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY author ASC NULLS LAST  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-03-13 01:26:52.083875"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-03-13 01:26:52.095357"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-03-13 01:26:52.099840"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-03-13 01:26:52.103275"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT MIN(posts.created_at) FROM "posts"  (0.8ms) SELECT MAX(posts.created_at) FROM "posts"  (2.6ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY author ASC NULLS LAST  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (2.8ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "post_id" integer, "author" varchar, "likes" integer DEFAULT 0 NOT NULL)   (3.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "title" varchar, "author" varchar, "likes" integer DEFAULT 0 NOT NULL)  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.4ms) select sqlite_version(*)  (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150714202319') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-01 12:29:18.293207"], ["updated_at", "2016-04-01 12:29:18.293207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-01 12:29:18.302018"], ["updated_at", "2016-04-01 12:29:18.302018"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-01 12:29:18.304509"], ["updated_at", "2016-04-01 12:29:18.304509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.7ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-01 12:29:18.364502"], ["updated_at", "2016-04-01 12:29:18.364502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Alice"], ["created_at", "2016-04-01 12:29:18.379925"], ["updated_at", "2016-04-01 12:29:18.379925"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Bob"], ["created_at", "2016-04-01 12:29:18.383867"], ["updated_at", "2016-04-01 12:29:18.383867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-01 12:29:18.386617"], ["updated_at", "2016-04-01 12:29:18.386617"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-01 12:29:18.421925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-01 12:29:18.423796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-01 12:29:18.425445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-01 12:29:18.426500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts"  (0.0ms) SELECT MAX(posts.created_at) FROM "posts"  (2.4ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (8.0ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (2.6ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (4.6ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-01 12:29:56', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-01 12:29:56', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-01 12:29:56', '2016-04-01 12:29:56')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-01 12:29:56', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-01 12:29:56', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-01 12:29:56', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-01 12:29:56', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (3.8ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.1ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-01 12:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (4.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (6.5ms) SELECT MIN(posts.likes) FROM "posts"  (5.4ms) SELECT MAX(posts.likes) FROM "posts"  (2.3ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-01 12:30:09.091614"], ["updated_at", "2016-04-01 12:30:09.091614"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-01 12:30:09.098791"], ["updated_at", "2016-04-01 12:30:09.098791"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-01 12:30:09.100895"], ["updated_at", "2016-04-01 12:30:09.100895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-01 12:30:09.158144"], ["updated_at", "2016-04-01 12:30:09.158144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-01 12:30:09.164936"], ["updated_at", "2016-04-01 12:30:09.164936"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-01 12:30:09.167134"], ["updated_at", "2016-04-01 12:30:09.167134"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-01 12:30:09.168911"], ["updated_at", "2016-04-01 12:30:09.168911"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (2.7ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-01 12:30:09.205292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-01 12:30:09.207189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-01 12:30:09.208714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-01 12:30:09.210168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (9.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) BEGIN  (3.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (3.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (2.3ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 01:07:05.713695"], ["updated_at", "2016-04-02 01:07:05.713695"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 01:07:05.725524"], ["updated_at", "2016-04-02 01:07:05.725524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 01:07:05.727435"], ["updated_at", "2016-04-02 01:07:05.727435"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 01:07:05.781836"], ["updated_at", "2016-04-02 01:07:05.781836"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 01:07:05.789041"], ["updated_at", "2016-04-02 01:07:05.789041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 01:07:05.790816"], ["updated_at", "2016-04-02 01:07:05.790816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 01:07:05.792184"], ["updated_at", "2016-04-02 01:07:05.792184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 01:07:05.823944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 01:07:05.825876"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 01:07:05.832973"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 01:07:05.834883"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (3.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:20:37.122375"], ["updated_at", "2016-04-02 13:20:37.122375"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:20:37.128788"], ["updated_at", "2016-04-02 13:20:37.128788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:20:37.130516"], ["updated_at", "2016-04-02 13:20:37.130516"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:20:37.186985"], ["updated_at", "2016-04-02 13:20:37.186985"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:20:37.196277"], ["updated_at", "2016-04-02 13:20:37.196277"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:20:37.200083"], ["updated_at", "2016-04-02 13:20:37.200083"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:20:37.203620"], ["updated_at", "2016-04-02 13:20:37.203620"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:20:37.236614"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:20:37.238725"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:20:37.240868"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:20:37.249500"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.4ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:23:30.097240"], ["updated_at", "2016-04-02 13:23:30.097240"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:23:30.100192"], ["updated_at", "2016-04-02 13:23:30.100192"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:23:30.102003"], ["updated_at", "2016-04-02 13:23:30.102003"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:23:30.154051"], ["updated_at", "2016-04-02 13:23:30.154051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:23:30.160841"], ["updated_at", "2016-04-02 13:23:30.160841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:23:30.163059"], ["updated_at", "2016-04-02 13:23:30.163059"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:23:30.164740"], ["updated_at", "2016-04-02 13:23:30.164740"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:23:30.215562"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:23:30.218741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:23:30.220961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:23:30.224004"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.3ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:24:25.500018"], ["updated_at", "2016-04-02 13:24:25.500018"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:24:25.503293"], ["updated_at", "2016-04-02 13:24:25.503293"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:24:25.505269"], ["updated_at", "2016-04-02 13:24:25.505269"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:24:25.562537"], ["updated_at", "2016-04-02 13:24:25.562537"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:24:25.569784"], ["updated_at", "2016-04-02 13:24:25.569784"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:24:25.572051"], ["updated_at", "2016-04-02 13:24:25.572051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:24:25.573734"], ["updated_at", "2016-04-02 13:24:25.573734"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:24:25.604363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:24:25.606437"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:24:25.608253"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:24:25.610073"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts"  (1.4ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:25:35.515420"], ["updated_at", "2016-04-02 13:25:35.515420"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:25:35.519016"], ["updated_at", "2016-04-02 13:25:35.519016"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:25:35.521043"], ["updated_at", "2016-04-02 13:25:35.521043"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:25:35.574322"], ["updated_at", "2016-04-02 13:25:35.574322"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:25:35.580783"], ["updated_at", "2016-04-02 13:25:35.580783"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:25:35.582926"], ["updated_at", "2016-04-02 13:25:35.582926"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:25:35.584855"], ["updated_at", "2016-04-02 13:25:35.584855"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (8.5ms) ROLLBACK  (0.2ms) BEGIN  (1.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (9.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:25:35.642455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:25:35.644316"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:25:35.646919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:25:35.649594"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:26:15.604321"], ["updated_at", "2016-04-02 13:26:15.604321"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:26:15.607985"], ["updated_at", "2016-04-02 13:26:15.607985"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:26:15.610011"], ["updated_at", "2016-04-02 13:26:15.610011"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:27:54.836744"], ["updated_at", "2016-04-02 13:27:54.836744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:27:54.840400"], ["updated_at", "2016-04-02 13:27:54.840400"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:27:54.842144"], ["updated_at", "2016-04-02 13:27:54.842144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:27:54.895411"], ["updated_at", "2016-04-02 13:27:54.895411"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:27:54.900945"], ["updated_at", "2016-04-02 13:27:54.900945"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:27:54.903189"], ["updated_at", "2016-04-02 13:27:54.903189"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:27:54.904971"], ["updated_at", "2016-04-02 13:27:54.904971"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:27:54.928147"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:27:54.931115"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:27:54.932842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:27:54.934315"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:29:06.100302"], ["updated_at", "2016-04-02 13:29:06.100302"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:29:06.104895"], ["updated_at", "2016-04-02 13:29:06.104895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:29:06.106895"], ["updated_at", "2016-04-02 13:29:06.106895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:29:06.161262"], ["updated_at", "2016-04-02 13:29:06.161262"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:29:06.167331"], ["updated_at", "2016-04-02 13:29:06.167331"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:29:06.169321"], ["updated_at", "2016-04-02 13:29:06.169321"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:29:06.171096"], ["updated_at", "2016-04-02 13:29:06.171096"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (1.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.6ms) ROLLBACK  (1.0ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:29:06.215281"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:29:06.225469"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:29:06.227905"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:29:06.230493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:30:33.637704"], ["updated_at", "2016-04-02 13:30:33.637704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:30:33.640869"], ["updated_at", "2016-04-02 13:30:33.640869"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:30:33.642724"], ["updated_at", "2016-04-02 13:30:33.642724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:30:33.697737"], ["updated_at", "2016-04-02 13:30:33.697737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:30:33.703437"], ["updated_at", "2016-04-02 13:30:33.703437"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:30:33.705964"], ["updated_at", "2016-04-02 13:30:33.705964"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:30:33.707768"], ["updated_at", "2016-04-02 13:30:33.707768"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:30:33.732438"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:30:33.734338"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:30:33.736153"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:30:33.737985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:31:15.311586"], ["updated_at", "2016-04-02 13:31:15.311586"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:31:15.315965"], ["updated_at", "2016-04-02 13:31:15.315965"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:31:15.317961"], ["updated_at", "2016-04-02 13:31:15.317961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:31:15.371489"], ["updated_at", "2016-04-02 13:31:15.371489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:31:15.377187"], ["updated_at", "2016-04-02 13:31:15.377187"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:31:15.379423"], ["updated_at", "2016-04-02 13:31:15.379423"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:31:15.381203"], ["updated_at", "2016-04-02 13:31:15.381203"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:15.415495"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:15.417629"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:15.419609"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:15.421733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (1.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:31:30.252197"], ["updated_at", "2016-04-02 13:31:30.252197"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:31:30.255718"], ["updated_at", "2016-04-02 13:31:30.255718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:31:30.257746"], ["updated_at", "2016-04-02 13:31:30.257746"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:31:30.308232"], ["updated_at", "2016-04-02 13:31:30.308232"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:31:30.314566"], ["updated_at", "2016-04-02 13:31:30.314566"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:31:30.316814"], ["updated_at", "2016-04-02 13:31:30.316814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:31:30.318470"], ["updated_at", "2016-04-02 13:31:30.318470"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:30.343422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:30.345389"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:30.348283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:30.350110"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:31:59.049124"], ["updated_at", "2016-04-02 13:31:59.049124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:31:59.052870"], ["updated_at", "2016-04-02 13:31:59.052870"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:31:59.054633"], ["updated_at", "2016-04-02 13:31:59.054633"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:31:59.107986"], ["updated_at", "2016-04-02 13:31:59.107986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:31:59.115204"], ["updated_at", "2016-04-02 13:31:59.115204"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:31:59.117289"], ["updated_at", "2016-04-02 13:31:59.117289"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:31:59.119326"], ["updated_at", "2016-04-02 13:31:59.119326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:59.152197"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:59.154435"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:59.156269"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:31:59.158017"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:32:23.239818"], ["updated_at", "2016-04-02 13:32:23.239818"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:32:23.242544"], ["updated_at", "2016-04-02 13:32:23.242544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:32:23.244116"], ["updated_at", "2016-04-02 13:32:23.244116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:32:23.294798"], ["updated_at", "2016-04-02 13:32:23.294798"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:32:23.300489"], ["updated_at", "2016-04-02 13:32:23.300489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:32:23.302667"], ["updated_at", "2016-04-02 13:32:23.302667"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:32:23.304427"], ["updated_at", "2016-04-02 13:32:23.304427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:32:23.326550"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:32:23.335455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:32:23.337241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:32:23.339405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:32:53.466466"], ["updated_at", "2016-04-02 13:32:53.466466"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:32:53.469697"], ["updated_at", "2016-04-02 13:32:53.469697"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:32:53.471607"], ["updated_at", "2016-04-02 13:32:53.471607"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:32:53.526728"], ["updated_at", "2016-04-02 13:32:53.526728"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:32:53.532316"], ["updated_at", "2016-04-02 13:32:53.532316"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:32:53.534392"], ["updated_at", "2016-04-02 13:32:53.534392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:32:53.536401"], ["updated_at", "2016-04-02 13:32:53.536401"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:32:53.558961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:32:53.561254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:32:53.563107"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:32:53.564935"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (2.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:35:29.464794"], ["updated_at", "2016-04-02 13:35:29.464794"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:35:29.467941"], ["updated_at", "2016-04-02 13:35:29.467941"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:35:29.469836"], ["updated_at", "2016-04-02 13:35:29.469836"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:35:29.520603"], ["updated_at", "2016-04-02 13:35:29.520603"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:35:29.526516"], ["updated_at", "2016-04-02 13:35:29.526516"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:35:29.528677"], ["updated_at", "2016-04-02 13:35:29.528677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:35:29.530853"], ["updated_at", "2016-04-02 13:35:29.530853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:35:29.554591"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:35:29.563066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:35:29.565807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:35:29.567422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:36:02.169320"], ["updated_at", "2016-04-02 13:36:02.169320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:36:02.172406"], ["updated_at", "2016-04-02 13:36:02.172406"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:36:02.176987"], ["updated_at", "2016-04-02 13:36:02.176987"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:36:28.344374"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:36:28.362687"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:36:28.365679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:36:28.368773"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:36:37.806297"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:36:37.819030"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:36:37.823151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:36:37.826264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT MIN(posts.created_at) FROM "posts"  (1.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.7ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (6.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:38:15.000254"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:38:15.017796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:38:15.019619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:38:15.021689"]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:38:52.614904"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:38:52.633369"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:38:52.635309"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:38:52.637132"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.6ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:39:57.247063"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:39:57.254208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:39:57.255872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:39:57.257601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.7ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:40:38.951229"], ["updated_at", "2016-04-02 13:40:38.951229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:40:38.954090"], ["updated_at", "2016-04-02 13:40:38.954090"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:40:38.955939"], ["updated_at", "2016-04-02 13:40:38.955939"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:41:09.460076"], ["updated_at", "2016-04-02 13:41:09.460076"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:41:09.463474"], ["updated_at", "2016-04-02 13:41:09.463474"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:41:09.465289"], ["updated_at", "2016-04-02 13:41:09.465289"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:41:09.518010"], ["updated_at", "2016-04-02 13:41:09.518010"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:41:09.523507"], ["updated_at", "2016-04-02 13:41:09.523507"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:41:09.525647"], ["updated_at", "2016-04-02 13:41:09.525647"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:41:09.527324"], ["updated_at", "2016-04-02 13:41:09.527324"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:41:09.550076"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:41:09.558355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:41:09.560721"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:41:09.562570"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:42:50.078933"], ["updated_at", "2016-04-02 13:42:50.078933"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:42:50.083185"], ["updated_at", "2016-04-02 13:42:50.083185"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:42:50.085035"], ["updated_at", "2016-04-02 13:42:50.085035"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:42:50.139405"], ["updated_at", "2016-04-02 13:42:50.139405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:42:50.145208"], ["updated_at", "2016-04-02 13:42:50.145208"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:42:50.147243"], ["updated_at", "2016-04-02 13:42:50.147243"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:42:50.149008"], ["updated_at", "2016-04-02 13:42:50.149008"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:42:50.173007"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:42:50.188830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:42:50.192351"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:42:50.196315"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT MIN(posts.created_at) FROM "posts"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts"  (2.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:43:58.066171"], ["updated_at", "2016-04-02 13:43:58.066171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:43:58.069750"], ["updated_at", "2016-04-02 13:43:58.069750"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:43:58.071533"], ["updated_at", "2016-04-02 13:43:58.071533"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:43:58.124134"], ["updated_at", "2016-04-02 13:43:58.124134"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:43:58.129511"], ["updated_at", "2016-04-02 13:43:58.129511"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:43:58.131702"], ["updated_at", "2016-04-02 13:43:58.131702"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:43:58.133404"], ["updated_at", "2016-04-02 13:43:58.133404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:43:58.158388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:43:58.160271"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:43:58.162124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:43:58.164539"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:45:33.756201"], ["updated_at", "2016-04-02 13:45:33.756201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:45:33.760415"], ["updated_at", "2016-04-02 13:45:33.760415"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:45:33.762206"], ["updated_at", "2016-04-02 13:45:33.762206"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:45:33.804361"], ["updated_at", "2016-04-02 13:45:33.804361"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:45:33.810396"], ["updated_at", "2016-04-02 13:45:33.810396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:45:33.815274"], ["updated_at", "2016-04-02 13:45:33.815274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:45:33.817203"], ["updated_at", "2016-04-02 13:45:33.817203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:45:33.847691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:45:33.850188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:45:33.852029"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:45:33.854077"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:45:52.984326"], ["updated_at", "2016-04-02 13:45:52.984326"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:45:52.987912"], ["updated_at", "2016-04-02 13:45:52.987912"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:45:52.989989"], ["updated_at", "2016-04-02 13:45:52.989989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:45:53.042818"], ["updated_at", "2016-04-02 13:45:53.042818"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:45:53.048815"], ["updated_at", "2016-04-02 13:45:53.048815"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:45:53.050988"], ["updated_at", "2016-04-02 13:45:53.050988"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:45:53.052752"], ["updated_at", "2016-04-02 13:45:53.052752"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:45:53.085285"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:45:53.086934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:45:53.088550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:45:53.090139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT MIN(posts.likes) FROM "posts"  (1.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:46:03.814206"], ["updated_at", "2016-04-02 13:46:03.814206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:46:03.818933"], ["updated_at", "2016-04-02 13:46:03.818933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:46:03.820761"], ["updated_at", "2016-04-02 13:46:03.820761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:46:03.869230"], ["updated_at", "2016-04-02 13:46:03.869230"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:46:03.875305"], ["updated_at", "2016-04-02 13:46:03.875305"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:46:03.877610"], ["updated_at", "2016-04-02 13:46:03.877610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:46:03.881936"], ["updated_at", "2016-04-02 13:46:03.881936"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:46:03.921461"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:46:03.923891"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:46:03.925765"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:46:03.927532"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.8ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:46:28.501633"], ["updated_at", "2016-04-02 13:46:28.501633"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:46:28.504620"], ["updated_at", "2016-04-02 13:46:28.504620"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:46:28.506378"], ["updated_at", "2016-04-02 13:46:28.506378"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:46:28.563933"], ["updated_at", "2016-04-02 13:46:28.563933"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:46:28.570345"], ["updated_at", "2016-04-02 13:46:28.570345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:46:28.573447"], ["updated_at", "2016-04-02 13:46:28.573447"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:46:28.575569"], ["updated_at", "2016-04-02 13:46:28.575569"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:48:33.808376"], ["updated_at", "2016-04-02 13:48:33.808376"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:48:33.812741"], ["updated_at", "2016-04-02 13:48:33.812741"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:48:33.814831"], ["updated_at", "2016-04-02 13:48:33.814831"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:48:33.843692"], ["updated_at", "2016-04-02 13:48:33.843692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:48:33.849023"], ["updated_at", "2016-04-02 13:48:33.849023"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:48:33.851093"], ["updated_at", "2016-04-02 13:48:33.851093"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:48:33.852918"], ["updated_at", "2016-04-02 13:48:33.852918"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (1.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:48:36.031029"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:48:36.035734"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:48:36.038170"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:48:36.040125"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.6ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:49:16.728893"], ["updated_at", "2016-04-02 13:49:16.728893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:49:16.733333"], ["updated_at", "2016-04-02 13:49:16.733333"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:49:16.737665"], ["updated_at", "2016-04-02 13:49:16.737665"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:49:16.791187"], ["updated_at", "2016-04-02 13:49:16.791187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:49:16.798504"], ["updated_at", "2016-04-02 13:49:16.798504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:49:16.803389"], ["updated_at", "2016-04-02 13:49:16.803389"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:49:16.807047"], ["updated_at", "2016-04-02 13:49:16.807047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:49:50.107504"], ["updated_at", "2016-04-02 13:49:50.107504"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:49:50.110981"], ["updated_at", "2016-04-02 13:49:50.110981"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:49:50.112878"], ["updated_at", "2016-04-02 13:49:50.112878"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:49:50.169599"], ["updated_at", "2016-04-02 13:49:50.169599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:49:50.176006"], ["updated_at", "2016-04-02 13:49:50.176006"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:49:50.178753"], ["updated_at", "2016-04-02 13:49:50.178753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:49:50.180724"], ["updated_at", "2016-04-02 13:49:50.180724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:49:50.205711"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:49:50.207575"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:49:50.209379"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:49:50.211946"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:50:15.485926"], ["updated_at", "2016-04-02 13:50:15.485926"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:50:15.488895"], ["updated_at", "2016-04-02 13:50:15.488895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:50:15.490859"], ["updated_at", "2016-04-02 13:50:15.490859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:50:15.544070"], ["updated_at", "2016-04-02 13:50:15.544070"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:50:15.549604"], ["updated_at", "2016-04-02 13:50:15.549604"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:50:15.551682"], ["updated_at", "2016-04-02 13:50:15.551682"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:50:15.553358"], ["updated_at", "2016-04-02 13:50:15.553358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:50:15.578253"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:50:15.580331"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:50:15.582103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:50:15.583860"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:51:49.673749"], ["updated_at", "2016-04-02 13:51:49.673749"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:51:49.677168"], ["updated_at", "2016-04-02 13:51:49.677168"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:51:49.678902"], ["updated_at", "2016-04-02 13:51:49.678902"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:51:49.733121"], ["updated_at", "2016-04-02 13:51:49.733121"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:51:49.738874"], ["updated_at", "2016-04-02 13:51:49.738874"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:51:49.741030"], ["updated_at", "2016-04-02 13:51:49.741030"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:51:49.742744"], ["updated_at", "2016-04-02 13:51:49.742744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:51:49.773598"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:51:49.775573"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:51:49.777519"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:51:49.779312"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:53:17.678665"], ["updated_at", "2016-04-02 13:53:17.678665"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:53:17.682093"], ["updated_at", "2016-04-02 13:53:17.682093"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:53:17.683808"], ["updated_at", "2016-04-02 13:53:17.683808"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:53:17.735877"], ["updated_at", "2016-04-02 13:53:17.735877"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:53:17.741478"], ["updated_at", "2016-04-02 13:53:17.741478"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:53:17.743474"], ["updated_at", "2016-04-02 13:53:17.743474"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:53:17.745265"], ["updated_at", "2016-04-02 13:53:17.745265"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:53:17.768568"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:53:17.770628"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:53:17.772364"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:53:17.774186"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.8ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:53:38.710753"], ["updated_at", "2016-04-02 13:53:38.710753"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:53:38.714698"], ["updated_at", "2016-04-02 13:53:38.714698"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:53:38.716413"], ["updated_at", "2016-04-02 13:53:38.716413"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:53:38.765076"], ["updated_at", "2016-04-02 13:53:38.765076"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (13.7ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:53:38.787384"], ["updated_at", "2016-04-02 13:53:38.787384"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:53:38.794025"], ["updated_at", "2016-04-02 13:53:38.794025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:53:38.796174"], ["updated_at", "2016-04-02 13:53:38.796174"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (1.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.6ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:53:38.837878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:53:38.840041"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:53:38.842259"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:53:38.844193"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT MIN(posts.created_at) FROM "posts"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:56:50.824857"], ["updated_at", "2016-04-02 13:56:50.824857"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:56:50.828723"], ["updated_at", "2016-04-02 13:56:50.828723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:56:50.830559"], ["updated_at", "2016-04-02 13:56:50.830559"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:56:50.877498"], ["updated_at", "2016-04-02 13:56:50.877498"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:56:50.882882"], ["updated_at", "2016-04-02 13:56:50.882882"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:56:50.884915"], ["updated_at", "2016-04-02 13:56:50.884915"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:56:50.886730"], ["updated_at", "2016-04-02 13:56:50.886730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:56:50.911194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:56:50.913044"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:56:50.916143"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:56:50.917746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:57:25.907949"], ["updated_at", "2016-04-02 13:57:25.907949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:57:25.910676"], ["updated_at", "2016-04-02 13:57:25.910676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:57:25.912362"], ["updated_at", "2016-04-02 13:57:25.912362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:57:25.955268"], ["updated_at", "2016-04-02 13:57:25.955268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:57:25.960311"], ["updated_at", "2016-04-02 13:57:25.960311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:57:25.962259"], ["updated_at", "2016-04-02 13:57:25.962259"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:57:25.964441"], ["updated_at", "2016-04-02 13:57:25.964441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:57:26.000948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:57:26.002851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:57:26.004760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:57:26.006621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 13:59:33.517312"], ["updated_at", "2016-04-02 13:59:33.517312"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 13:59:33.521867"], ["updated_at", "2016-04-02 13:59:33.521867"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 13:59:33.523841"], ["updated_at", "2016-04-02 13:59:33.523841"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (3.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 13:59:33.595481"], ["updated_at", "2016-04-02 13:59:33.595481"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 13:59:33.606699"], ["updated_at", "2016-04-02 13:59:33.606699"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 13:59:33.609820"], ["updated_at", "2016-04-02 13:59:33.609820"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 13:59:33.612332"], ["updated_at", "2016-04-02 13:59:33.612332"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:59:33.644598"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 13:59:33.647131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 13:59:33.650029"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 13:59:33.652218"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (1.7ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 14:00:10.350313"], ["updated_at", "2016-04-02 14:00:10.350313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 14:00:10.354911"], ["updated_at", "2016-04-02 14:00:10.354911"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 14:00:10.357065"], ["updated_at", "2016-04-02 14:00:10.357065"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 14:00:10.411107"], ["updated_at", "2016-04-02 14:00:10.411107"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 14:00:10.416741"], ["updated_at", "2016-04-02 14:00:10.416741"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 14:00:10.418735"], ["updated_at", "2016-04-02 14:00:10.418735"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 14:00:10.420472"], ["updated_at", "2016-04-02 14:00:10.420472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 14:00:10.447771"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 14:00:10.450380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 14:00:10.452769"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 14:00:10.454640"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (2.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-02 14:02:42.794540"], ["updated_at", "2016-04-02 14:02:42.794540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-02 14:02:42.800272"], ["updated_at", "2016-04-02 14:02:42.800272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-02 14:02:42.802161"], ["updated_at", "2016-04-02 14:02:42.802161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-02 14:02:42.854459"], ["updated_at", "2016-04-02 14:02:42.854459"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Alice"], ["created_at", "2016-04-02 14:02:42.862139"], ["updated_at", "2016-04-02 14:02:42.862139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Bob"], ["created_at", "2016-04-02 14:02:42.864341"], ["updated_at", "2016-04-02 14:02:42.864341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-02 14:02:42.865945"], ["updated_at", "2016-04-02 14:02:42.865945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 14:02:42.884892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 14:02:42.886430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 14:02:42.888935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 14:02:42.890165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts"  (0.0ms) SELECT MAX(posts.created_at) FROM "posts"  (0.7ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (2.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (5.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-02 14:03:58.430030"], ["updated_at", "2016-04-02 14:03:58.430030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-02 14:03:58.438104"], ["updated_at", "2016-04-02 14:03:58.438104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-02 14:03:58.440162"], ["updated_at", "2016-04-02 14:03:58.440162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-02 14:03:58.492742"], ["updated_at", "2016-04-02 14:03:58.492742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Alice"], ["created_at", "2016-04-02 14:03:58.499473"], ["updated_at", "2016-04-02 14:03:58.499473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Bob"], ["created_at", "2016-04-02 14:03:58.500838"], ["updated_at", "2016-04-02 14:03:58.500838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-02 14:03:58.501943"], ["updated_at", "2016-04-02 14:03:58.501943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (5.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 14:03:58.525172"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 14:03:58.526984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 14:03:58.528547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 14:03:58.529670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (21.6ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (2.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.6ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (0.6ms) SAVEPOINT active_record_1 SQL (5.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 14:04:06', '2016-04-02 14:04:06')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 14:04:06', '2016-04-02 14:04:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 14:04:06', '2016-04-02 14:04:06')  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (3.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 14:04:06', '2016-04-02 14:04:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 14:04:06', '2016-04-02 14:04:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 14:04:06', '2016-04-02 14:04:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 14:04:06', '2016-04-02 14:04:06')  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (8.5ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (2.5ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (2.7ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.7ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 14:04:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 14:04:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 14:04:06')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 14:04:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT MIN(posts.created_at) FROM `posts`  (0.3ms) SELECT MAX(posts.created_at) FROM `posts`  (7.3ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 14:06:06', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 14:06:06', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 14:06:06', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 14:06:06', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 14:06:06', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 14:06:06', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 14:06:06', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 14:06:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (15.0ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (3.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.4ms) SELECT MAX(posts.likes) FROM `posts`  (5.0ms) SAVEPOINT active_record_1 SQL (7.6ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:07:45', '2016-04-02 16:07:45')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:07:45', '2016-04-02 16:07:45')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:07:45', '2016-04-02 16:07:45')  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.4ms) SELECT MAX(posts.likes) FROM `posts`  (3.1ms) ROLLBACK  (0.2ms) BEGIN  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:07:45', '2016-04-02 16:07:45')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM `posts`  (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:07:45', '2016-04-02 16:07:45')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:07:45', '2016-04-02 16:07:45')  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:07:45', '2016-04-02 16:07:45')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (5.9ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (2.6ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (3.0ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (3.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:07:45')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:07:45')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:07:45')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:07:45')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (6.7ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.8ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:08:09', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:08:09', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:08:09', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:08:09', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:08:09', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:08:09', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:08:09', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.1ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.1ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:08:09')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts`  (0.1ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:08:29', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:08:29', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:08:29', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.6ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:08:29', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:08:29', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:08:29', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:08:29', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (1.9ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.6ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.7ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:08:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts`  (0.3ms) SELECT MAX(posts.created_at) FROM `posts`  (0.6ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:09:36', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:09:36', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:09:36', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:09:36', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:09:36', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:09:36', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:09:36', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:09:36')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:09:36')  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.1ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:12:03', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:12:03', '2016-04-02 16:12:03')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:12:03', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:12:03', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:12:03', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:12:03', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:12:03', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:12:03')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:12:24', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:12:24', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:12:24', '2016-04-02 16:12:24')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM `posts`  (0.4ms) SELECT MAX(posts.likes) FROM `posts`  (1.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:12:24', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:12:24', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:12:24', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:12:24', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:12:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:13:56', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:13:56', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:13:56', '2016-04-02 16:13:56')  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:13:56', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:13:56', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:13:56', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:13:56', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:13:56')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:13:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.6ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:16:31', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:16:31', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:16:31', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:16:31', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:16:31', '2016-04-02 16:16:31')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:16:31', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:16:31', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:16:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.4ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:17:05', '2016-04-02 16:17:05')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:17:05', '2016-04-02 16:17:05')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:17:05', '2016-04-02 16:17:05')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:17:06', '2016-04-02 16:17:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:17:06', '2016-04-02 16:17:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:17:06', '2016-04-02 16:17:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:17:06', '2016-04-02 16:17:06')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:17:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:17:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:17:06')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:17:06')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.4ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:17:44', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:17:44', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:17:44', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:17:44', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:17:44', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:17:44', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:17:44', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:17:44')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.4ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:17:53', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:17:53', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:17:53', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:17:53', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:17:53', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:17:53', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:17:53', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:17:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:17:53')  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:18:51', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:18:51', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:18:51', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:18:51', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:18:51', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:18:51', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:18:51', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:18:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.8ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:19:26', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:19:26', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:19:26', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:19:26', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:19:26', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:19:26', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:19:26', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:19:26')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC   (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT MAX(posts.likes) FROM `posts`  (5.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (1.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:29:56', '2016-04-02 16:29:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (2.5ms) SELECT posts.author AS _repor_dimension_author FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (0.5ms) SELECT COUNT(posts.author AS _repor_dimension_author) AS count_posts_author_as__repor_dimension_author, _repor_dimension_author AS _repor_dimension_author FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS _repor_dimension_author) AS count_posts_author_as__repor_dimension_author, _r' at line 1: SELECT COUNT(posts.author AS _repor_dimension_author) AS count_posts_author_as__repor_dimension_author, _repor_dimension_author AS _repor_dimension_author FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC Post Load (2.7ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) as count FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.1ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.1ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:31:59', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:31:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:32:08', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:32:08')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (3.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` WHERE (posts.author IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-02 16:32:31', '2016-04-02 16:32:31')  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM `posts` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-01 00:00:00', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-01-12 00:00:00', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-01-15 00:00:00', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-03-01 00:00:00', '2016-04-02 16:32:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts`  (0.5ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (2.0ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-02 16:32:40.558139"], ["updated_at", "2016-04-02 16:32:40.558139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-02 16:32:40.563169"], ["updated_at", "2016-04-02 16:32:40.563169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-02 16:32:40.565863"], ["updated_at", "2016-04-02 16:32:40.565863"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (3.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-02 16:32:40.590004"], ["updated_at", "2016-04-02 16:32:40.590004"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Alice"], ["created_at", "2016-04-02 16:32:40.599308"], ["updated_at", "2016-04-02 16:32:40.599308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Bob"], ["created_at", "2016-04-02 16:32:40.602229"], ["updated_at", "2016-04-02 16:32:40.602229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-02 16:32:40.605260"], ["updated_at", "2016-04-02 16:32:40.605260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Alice"], ["created_at", "2016-04-02 16:32:40.614266"], ["updated_at", "2016-04-02 16:32:40.614266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Alice"], ["created_at", "2016-04-02 16:32:40.616460"], ["updated_at", "2016-04-02 16:32:40.616460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-02 16:32:40.617677"], ["updated_at", "2016-04-02 16:32:40.617677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Bob"], ["created_at", "2016-04-02 16:32:40.618629"], ["updated_at", "2016-04-02 16:32:40.618629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Bob"], ["created_at", "2016-04-02 16:32:40.619544"], ["updated_at", "2016-04-02 16:32:40.619544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Bob"], ["created_at", "2016-04-02 16:32:40.621894"], ["updated_at", "2016-04-02 16:32:40.621894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:32:40.639519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 16:32:40.640864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 16:32:40.642083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES (?, ?, ?) [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:32:40.643087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) BEGIN  (3.0ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (3.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (4.9ms) SAVEPOINT active_record_1 SQL (6.9ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 16:32:48.789372"], ["updated_at", "2016-04-02 16:32:48.789372"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 16:32:48.801289"], ["updated_at", "2016-04-02 16:32:48.801289"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 16:32:48.804912"], ["updated_at", "2016-04-02 16:32:48.804912"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 16:32:48.826526"], ["updated_at", "2016-04-02 16:32:48.826526"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:32:48.831935"], ["updated_at", "2016-04-02 16:32:48.831935"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:32:48.834026"], ["updated_at", "2016-04-02 16:32:48.834026"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:32:48.835710"], ["updated_at", "2016-04-02 16:32:48.835710"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:32:48.842509"], ["updated_at", "2016-04-02 16:32:48.842509"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:32:48.844391"], ["updated_at", "2016-04-02 16:32:48.844391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:32:48.846403"], ["updated_at", "2016-04-02 16:32:48.846403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:32:48.848137"], ["updated_at", "2016-04-02 16:32:48.848137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:32:48.849728"], ["updated_at", "2016-04-02 16:32:48.849728"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:32:48.851219"], ["updated_at", "2016-04-02 16:32:48.851219"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (3.0ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:32:48.888596"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 16:32:48.890524"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 16:32:48.892169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:32:48.893704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS LAST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 16:33:30.911645"], ["updated_at", "2016-04-02 16:33:30.911645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 16:33:30.914460"], ["updated_at", "2016-04-02 16:33:30.914460"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 16:33:30.916175"], ["updated_at", "2016-04-02 16:33:30.916175"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 16:33:30.928037"], ["updated_at", "2016-04-02 16:33:30.928037"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:33:30.933465"], ["updated_at", "2016-04-02 16:33:30.933465"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:33:30.935458"], ["updated_at", "2016-04-02 16:33:30.935458"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:33:30.937259"], ["updated_at", "2016-04-02 16:33:30.937259"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:33:30.945021"], ["updated_at", "2016-04-02 16:33:30.945021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:33:30.946753"], ["updated_at", "2016-04-02 16:33:30.946753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:33:30.948385"], ["updated_at", "2016-04-02 16:33:30.948385"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:33:30.949975"], ["updated_at", "2016-04-02 16:33:30.949975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:33:30.951485"], ["updated_at", "2016-04-02 16:33:30.951485"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:33:30.953047"], ["updated_at", "2016-04-02 16:33:30.953047"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:33:30.981027"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 16:33:30.982886"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 16:33:30.984587"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:33:30.986252"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 16:34:12.017146"], ["updated_at", "2016-04-02 16:34:12.017146"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 16:34:12.020156"], ["updated_at", "2016-04-02 16:34:12.020156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 16:34:12.023045"], ["updated_at", "2016-04-02 16:34:12.023045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 16:34:12.034316"], ["updated_at", "2016-04-02 16:34:12.034316"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:34:12.040444"], ["updated_at", "2016-04-02 16:34:12.040444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:34:12.043010"], ["updated_at", "2016-04-02 16:34:12.043010"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:34:12.044809"], ["updated_at", "2016-04-02 16:34:12.044809"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:34:12.051482"], ["updated_at", "2016-04-02 16:34:12.051482"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:34:12.053378"], ["updated_at", "2016-04-02 16:34:12.053378"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:34:12.056362"], ["updated_at", "2016-04-02 16:34:12.056362"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:34:12.058065"], ["updated_at", "2016-04-02 16:34:12.058065"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:34:12.059643"], ["updated_at", "2016-04-02 16:34:12.059643"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:34:12.061151"], ["updated_at", "2016-04-02 16:34:12.061151"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:34:12.081790"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 16:34:12.083456"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 16:34:12.085395"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:34:12.087509"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (1.0ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 16:35:49.723544"], ["updated_at", "2016-04-02 16:35:49.723544"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 16:35:49.726327"], ["updated_at", "2016-04-02 16:35:49.726327"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 16:35:49.728120"], ["updated_at", "2016-04-02 16:35:49.728120"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 16:35:49.739625"], ["updated_at", "2016-04-02 16:35:49.739625"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:35:49.745157"], ["updated_at", "2016-04-02 16:35:49.745157"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:35:49.747348"], ["updated_at", "2016-04-02 16:35:49.747348"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:35:49.749105"], ["updated_at", "2016-04-02 16:35:49.749105"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:35:49.756274"], ["updated_at", "2016-04-02 16:35:49.756274"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:35:49.758144"], ["updated_at", "2016-04-02 16:35:49.758144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:35:49.759814"], ["updated_at", "2016-04-02 16:35:49.759814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:35:49.761453"], ["updated_at", "2016-04-02 16:35:49.761453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:35:49.763327"], ["updated_at", "2016-04-02 16:35:49.763327"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:35:49.765033"], ["updated_at", "2016-04-02 16:35:49.765033"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:35:49.787054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 16:35:49.788886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 16:35:49.790544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 16:35:49.792178"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:36:48.390084"], ["updated_at", "2016-04-02 16:36:48.390084"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:36:48.394515"], ["updated_at", "2016-04-02 16:36:48.394515"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:36:48.396256"], ["updated_at", "2016-04-02 16:36:48.396256"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:36:48.403989"], ["updated_at", "2016-04-02 16:36:48.403989"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:36:48.406165"], ["updated_at", "2016-04-02 16:36:48.406165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:36:48.407831"], ["updated_at", "2016-04-02 16:36:48.407831"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:36:48.409534"], ["updated_at", "2016-04-02 16:36:48.409534"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:36:48.411133"], ["updated_at", "2016-04-02 16:36:48.411133"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:36:48.412634"], ["updated_at", "2016-04-02 16:36:48.412634"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:37:21.324641"], ["updated_at", "2016-04-02 16:37:21.324641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:37:21.328969"], ["updated_at", "2016-04-02 16:37:21.328969"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:37:21.330747"], ["updated_at", "2016-04-02 16:37:21.330747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:37:21.338239"], ["updated_at", "2016-04-02 16:37:21.338239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:37:21.340060"], ["updated_at", "2016-04-02 16:37:21.340060"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:37:21.341763"], ["updated_at", "2016-04-02 16:37:21.341763"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:37:21.343436"], ["updated_at", "2016-04-02 16:37:21.343436"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:37:21.345255"], ["updated_at", "2016-04-02 16:37:21.345255"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:37:21.346965"], ["updated_at", "2016-04-02 16:37:21.346965"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:38:09.908635"], ["updated_at", "2016-04-02 16:38:09.908635"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:38:09.913019"], ["updated_at", "2016-04-02 16:38:09.913019"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:38:09.914740"], ["updated_at", "2016-04-02 16:38:09.914740"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:38:09.922389"], ["updated_at", "2016-04-02 16:38:09.922389"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:38:09.924218"], ["updated_at", "2016-04-02 16:38:09.924218"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:38:09.925837"], ["updated_at", "2016-04-02 16:38:09.925837"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:38:09.927417"], ["updated_at", "2016-04-02 16:38:09.927417"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:38:09.929070"], ["updated_at", "2016-04-02 16:38:09.929070"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:38:09.930785"], ["updated_at", "2016-04-02 16:38:09.930785"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:40:02.748135"], ["updated_at", "2016-04-02 16:40:02.748135"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:40:02.752836"], ["updated_at", "2016-04-02 16:40:02.752836"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:40:02.754892"], ["updated_at", "2016-04-02 16:40:02.754892"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:40:02.763282"], ["updated_at", "2016-04-02 16:40:02.763282"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:40:02.765274"], ["updated_at", "2016-04-02 16:40:02.765274"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:40:02.767084"], ["updated_at", "2016-04-02 16:40:02.767084"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:40:02.768774"], ["updated_at", "2016-04-02 16:40:02.768774"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:40:02.770505"], ["updated_at", "2016-04-02 16:40:02.770505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:40:02.772229"], ["updated_at", "2016-04-02 16:40:02.772229"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:40:39.062496"], ["updated_at", "2016-04-02 16:40:39.062496"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:40:39.066622"], ["updated_at", "2016-04-02 16:40:39.066622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:40:39.068364"], ["updated_at", "2016-04-02 16:40:39.068364"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:40:39.076619"], ["updated_at", "2016-04-02 16:40:39.076619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 16:40:39.078435"], ["updated_at", "2016-04-02 16:40:39.078435"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 16:40:39.080047"], ["updated_at", "2016-04-02 16:40:39.080047"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:40:39.081641"], ["updated_at", "2016-04-02 16:40:39.081641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:40:39.083320"], ["updated_at", "2016-04-02 16:40:39.083320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 16:40:39.084945"], ["updated_at", "2016-04-02 16:40:39.084945"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.7ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.777373"], ["updated_at", "2016-04-02 18:40:48.777373"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.789616"], ["updated_at", "2016-04-02 18:40:48.789616"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.793050"], ["updated_at", "2016-04-02 18:40:48.793050"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.796478"], ["updated_at", "2016-04-02 18:40:48.796478"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.799892"], ["updated_at", "2016-04-02 18:40:48.799892"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:40:48.803667"], ["updated_at", "2016-04-02 18:40:48.803667"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (7.2ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.823262"], ["updated_at", "2016-04-02 18:40:48.823262"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.826888"], ["updated_at", "2016-04-02 18:40:48.826888"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.830125"], ["updated_at", "2016-04-02 18:40:48.830125"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.833425"], ["updated_at", "2016-04-02 18:40:48.833425"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.837471"], ["updated_at", "2016-04-02 18:40:48.837471"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:40:48.840932"], ["updated_at", "2016-04-02 18:40:48.840932"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.847008"], ["updated_at", "2016-04-02 18:40:48.847008"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.850630"], ["updated_at", "2016-04-02 18:40:48.850630"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.854249"], ["updated_at", "2016-04-02 18:40:48.854249"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.858726"], ["updated_at", "2016-04-02 18:40:48.858726"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.862277"], ["updated_at", "2016-04-02 18:40:48.862277"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:40:48.867608"], ["updated_at", "2016-04-02 18:40:48.867608"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.926390"], ["updated_at", "2016-04-02 18:40:48.926390"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.929943"], ["updated_at", "2016-04-02 18:40:48.929943"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.933772"], ["updated_at", "2016-04-02 18:40:48.933772"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.937409"], ["updated_at", "2016-04-02 18:40:48.937409"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.940833"], ["updated_at", "2016-04-02 18:40:48.940833"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:40:48.944248"], ["updated_at", "2016-04-02 18:40:48.944248"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (4.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.955846"], ["updated_at", "2016-04-02 18:40:48.955846"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.959615"], ["updated_at", "2016-04-02 18:40:48.959615"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.965048"], ["updated_at", "2016-04-02 18:40:48.965048"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.968664"], ["updated_at", "2016-04-02 18:40:48.968664"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.971384"], ["updated_at", "2016-04-02 18:40:48.971384"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:40:48.973670"], ["updated_at", "2016-04-02 18:40:48.973670"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.6ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.980864"], ["updated_at", "2016-04-02 18:40:48.980864"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:40:48.982973"], ["updated_at", "2016-04-02 18:40:48.982973"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.984806"], ["updated_at", "2016-04-02 18:40:48.984806"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.986726"], ["updated_at", "2016-04-02 18:40:48.986726"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:40:48.988479"], ["updated_at", "2016-04-02 18:40:48.988479"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:40:48.990211"], ["updated_at", "2016-04-02 18:40:48.990211"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.587889"], ["updated_at", "2016-04-02 18:42:06.587889"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.600061"], ["updated_at", "2016-04-02 18:42:06.600061"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.604190"], ["updated_at", "2016-04-02 18:42:06.604190"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.607738"], ["updated_at", "2016-04-02 18:42:06.607738"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.611344"], ["updated_at", "2016-04-02 18:42:06.611344"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:42:06.614831"], ["updated_at", "2016-04-02 18:42:06.614831"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.627321"], ["updated_at", "2016-04-02 18:42:06.627321"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.629949"], ["updated_at", "2016-04-02 18:42:06.629949"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.631897"], ["updated_at", "2016-04-02 18:42:06.631897"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.633547"], ["updated_at", "2016-04-02 18:42:06.633547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.635463"], ["updated_at", "2016-04-02 18:42:06.635463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:42:06.637118"], ["updated_at", "2016-04-02 18:42:06.637118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.694193"], ["updated_at", "2016-04-02 18:42:06.694193"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.698287"], ["updated_at", "2016-04-02 18:42:06.698287"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.702202"], ["updated_at", "2016-04-02 18:42:06.702202"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.704790"], ["updated_at", "2016-04-02 18:42:06.704790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.706727"], ["updated_at", "2016-04-02 18:42:06.706727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:42:06.708556"], ["updated_at", "2016-04-02 18:42:06.708556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.712934"], ["updated_at", "2016-04-02 18:42:06.712934"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.714860"], ["updated_at", "2016-04-02 18:42:06.714860"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.716719"], ["updated_at", "2016-04-02 18:42:06.716719"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.718622"], ["updated_at", "2016-04-02 18:42:06.718622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.720342"], ["updated_at", "2016-04-02 18:42:06.720342"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:42:06.722042"], ["updated_at", "2016-04-02 18:42:06.722042"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.726382"], ["updated_at", "2016-04-02 18:42:06.726382"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.728317"], ["updated_at", "2016-04-02 18:42:06.728317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.730239"], ["updated_at", "2016-04-02 18:42:06.730239"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.733208"], ["updated_at", "2016-04-02 18:42:06.733208"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.735171"], ["updated_at", "2016-04-02 18:42:06.735171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:42:06.736918"], ["updated_at", "2016-04-02 18:42:06.736918"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.740744"], ["updated_at", "2016-04-02 18:42:06.740744"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 18:42:06.742518"], ["updated_at", "2016-04-02 18:42:06.742518"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.744056"], ["updated_at", "2016-04-02 18:42:06.744056"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.745586"], ["updated_at", "2016-04-02 18:42:06.745586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 18:42:06.747747"], ["updated_at", "2016-04-02 18:42:06.747747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 18:42:06.749556"], ["updated_at", "2016-04-02 18:42:06.749556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 19:04:36.515537"], ["updated_at", "2016-04-02 19:04:36.515537"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 19:04:36.523545"], ["updated_at", "2016-04-02 19:04:36.523545"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 19:04:36.525338"], ["updated_at", "2016-04-02 19:04:36.525338"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 19:04:36.527026"], ["updated_at", "2016-04-02 19:04:36.527026"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 19:04:36.528690"], ["updated_at", "2016-04-02 19:04:36.528690"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 19:04:36.530373"], ["updated_at", "2016-04-02 19:04:36.530373"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:32:26.103145"], ["updated_at", "2016-04-02 23:32:26.103145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:32:26.107496"], ["updated_at", "2016-04-02 23:32:26.107496"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:32:26.109273"], ["updated_at", "2016-04-02 23:32:26.109273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:32:26.111038"], ["updated_at", "2016-04-02 23:32:26.111038"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:32:26.112723"], ["updated_at", "2016-04-02 23:32:26.112723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:32:26.114381"], ["updated_at", "2016-04-02 23:32:26.114381"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.591524"], ["updated_at", "2016-04-02 23:32:31.591524"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.596053"], ["updated_at", "2016-04-02 23:32:31.596053"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.597841"], ["updated_at", "2016-04-02 23:32:31.597841"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.599660"], ["updated_at", "2016-04-02 23:32:31.599660"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.601395"], ["updated_at", "2016-04-02 23:32:31.601395"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:32:31.603099"], ["updated_at", "2016-04-02 23:32:31.603099"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.608705"], ["updated_at", "2016-04-02 23:32:31.608705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.610614"], ["updated_at", "2016-04-02 23:32:31.610614"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.612263"], ["updated_at", "2016-04-02 23:32:31.612263"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.613899"], ["updated_at", "2016-04-02 23:32:31.613899"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.615704"], ["updated_at", "2016-04-02 23:32:31.615704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:32:31.617666"], ["updated_at", "2016-04-02 23:32:31.617666"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.621653"], ["updated_at", "2016-04-02 23:32:31.621653"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.623494"], ["updated_at", "2016-04-02 23:32:31.623494"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.625172"], ["updated_at", "2016-04-02 23:32:31.625172"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.626836"], ["updated_at", "2016-04-02 23:32:31.626836"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.628548"], ["updated_at", "2016-04-02 23:32:31.628548"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:32:31.630221"], ["updated_at", "2016-04-02 23:32:31.630221"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.633920"], ["updated_at", "2016-04-02 23:32:31.633920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.635618"], ["updated_at", "2016-04-02 23:32:31.635618"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.637090"], ["updated_at", "2016-04-02 23:32:31.637090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.638651"], ["updated_at", "2016-04-02 23:32:31.638651"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.640177"], ["updated_at", "2016-04-02 23:32:31.640177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:32:31.642007"], ["updated_at", "2016-04-02 23:32:31.642007"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.656339"], ["updated_at", "2016-04-02 23:32:31.656339"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.658175"], ["updated_at", "2016-04-02 23:32:31.658175"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.659831"], ["updated_at", "2016-04-02 23:32:31.659831"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.661467"], ["updated_at", "2016-04-02 23:32:31.661467"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.663116"], ["updated_at", "2016-04-02 23:32:31.663116"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:32:31.664771"], ["updated_at", "2016-04-02 23:32:31.664771"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.669254"], ["updated_at", "2016-04-02 23:32:31.669254"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:32:31.671089"], ["updated_at", "2016-04-02 23:32:31.671089"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.672777"], ["updated_at", "2016-04-02 23:32:31.672777"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.674456"], ["updated_at", "2016-04-02 23:32:31.674456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:32:31.676113"], ["updated_at", "2016-04-02 23:32:31.676113"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:32:31.677761"], ["updated_at", "2016-04-02 23:32:31.677761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:32:31.752697"], ["updated_at", "2016-04-02 23:32:31.752697"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:32:31.756613"], ["updated_at", "2016-04-02 23:32:31.756613"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:32:31.760009"], ["updated_at", "2016-04-02 23:32:31.760009"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:32:31.820093"], ["updated_at", "2016-04-02 23:32:31.820093"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:32:31.829763"], ["updated_at", "2016-04-02 23:32:31.829763"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:32:31.833596"], ["updated_at", "2016-04-02 23:32:31.833596"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:32:31.837214"], ["updated_at", "2016-04-02 23:32:31.837214"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:32:31.849840"], ["updated_at", "2016-04-02 23:32:31.849840"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:32:31.854091"], ["updated_at", "2016-04-02 23:32:31.854091"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:32:31.857698"], ["updated_at", "2016-04-02 23:32:31.857698"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:32:31.860991"], ["updated_at", "2016-04-02 23:32:31.860991"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:32:31.864362"], ["updated_at", "2016-04-02 23:32:31.864362"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:32:31.869148"], ["updated_at", "2016-04-02 23:32:31.869148"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:32:31.907853"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:32:31.910108"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:32:31.911803"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:32:31.913547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:36:00.248650"], ["updated_at", "2016-04-02 23:36:00.248650"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:36:00.254387"], ["updated_at", "2016-04-02 23:36:00.254387"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:36:00.256393"], ["updated_at", "2016-04-02 23:36:00.256393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:36:00.258136"], ["updated_at", "2016-04-02 23:36:00.258136"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:36:00.259966"], ["updated_at", "2016-04-02 23:36:00.259966"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:36:00.261740"], ["updated_at", "2016-04-02 23:36:00.261740"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:36:24.646947"], ["updated_at", "2016-04-02 23:36:24.646947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:36:24.649228"], ["updated_at", "2016-04-02 23:36:24.649228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:36:24.651044"], ["updated_at", "2016-04-02 23:36:24.651044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:36:24.652823"], ["updated_at", "2016-04-02 23:36:24.652823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:36:24.654635"], ["updated_at", "2016-04-02 23:36:24.654635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:36:24.656385"], ["updated_at", "2016-04-02 23:36:24.656385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.945211"], ["updated_at", "2016-04-02 23:37:40.945211"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.949981"], ["updated_at", "2016-04-02 23:37:40.949981"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.951826"], ["updated_at", "2016-04-02 23:37:40.951826"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.953507"], ["updated_at", "2016-04-02 23:37:40.953507"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.955198"], ["updated_at", "2016-04-02 23:37:40.955198"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:40.957034"], ["updated_at", "2016-04-02 23:37:40.957034"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.962276"], ["updated_at", "2016-04-02 23:37:40.962276"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.964088"], ["updated_at", "2016-04-02 23:37:40.964088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.965758"], ["updated_at", "2016-04-02 23:37:40.965758"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.967904"], ["updated_at", "2016-04-02 23:37:40.967904"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.969724"], ["updated_at", "2016-04-02 23:37:40.969724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:40.971380"], ["updated_at", "2016-04-02 23:37:40.971380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.974945"], ["updated_at", "2016-04-02 23:37:40.974945"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.976664"], ["updated_at", "2016-04-02 23:37:40.976664"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.978215"], ["updated_at", "2016-04-02 23:37:40.978215"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.979731"], ["updated_at", "2016-04-02 23:37:40.979731"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.981350"], ["updated_at", "2016-04-02 23:37:40.981350"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:40.983049"], ["updated_at", "2016-04-02 23:37:40.983049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.987101"], ["updated_at", "2016-04-02 23:37:40.987101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.989067"], ["updated_at", "2016-04-02 23:37:40.989067"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.990622"], ["updated_at", "2016-04-02 23:37:40.990622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.992217"], ["updated_at", "2016-04-02 23:37:40.992217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:40.993823"], ["updated_at", "2016-04-02 23:37:40.993823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:40.995709"], ["updated_at", "2016-04-02 23:37:40.995709"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:40.999739"], ["updated_at", "2016-04-02 23:37:40.999739"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:41.002375"], ["updated_at", "2016-04-02 23:37:41.002375"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:41.005034"], ["updated_at", "2016-04-02 23:37:41.005034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:41.006505"], ["updated_at", "2016-04-02 23:37:41.006505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:41.007890"], ["updated_at", "2016-04-02 23:37:41.007890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:41.009212"], ["updated_at", "2016-04-02 23:37:41.009212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:41.012447"], ["updated_at", "2016-04-02 23:37:41.012447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:41.013980"], ["updated_at", "2016-04-02 23:37:41.013980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:41.015335"], ["updated_at", "2016-04-02 23:37:41.015335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:41.017134"], ["updated_at", "2016-04-02 23:37:41.017134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:41.018732"], ["updated_at", "2016-04-02 23:37:41.018732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:41.020134"], ["updated_at", "2016-04-02 23:37:41.020134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:37:41.060511"], ["updated_at", "2016-04-02 23:37:41.060511"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:37:41.062525"], ["updated_at", "2016-04-02 23:37:41.062525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:37:41.064137"], ["updated_at", "2016-04-02 23:37:41.064137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:37:41.075584"], ["updated_at", "2016-04-02 23:37:41.075584"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:37:41.080897"], ["updated_at", "2016-04-02 23:37:41.080897"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:37:41.082869"], ["updated_at", "2016-04-02 23:37:41.082869"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:37:41.085815"], ["updated_at", "2016-04-02 23:37:41.085815"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:37:41.092407"], ["updated_at", "2016-04-02 23:37:41.092407"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:37:41.094128"], ["updated_at", "2016-04-02 23:37:41.094128"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:37:41.095641"], ["updated_at", "2016-04-02 23:37:41.095641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:37:41.097111"], ["updated_at", "2016-04-02 23:37:41.097111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:37:41.098627"], ["updated_at", "2016-04-02 23:37:41.098627"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:37:41.100458"], ["updated_at", "2016-04-02 23:37:41.100458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:37:41.121919"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:37:41.123627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:37:41.125194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:37:41.126743"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.229546"], ["updated_at", "2016-04-02 23:37:54.229546"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.234192"], ["updated_at", "2016-04-02 23:37:54.234192"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.236064"], ["updated_at", "2016-04-02 23:37:54.236064"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.237810"], ["updated_at", "2016-04-02 23:37:54.237810"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.239463"], ["updated_at", "2016-04-02 23:37:54.239463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:54.241118"], ["updated_at", "2016-04-02 23:37:54.241118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.246139"], ["updated_at", "2016-04-02 23:37:54.246139"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.248019"], ["updated_at", "2016-04-02 23:37:54.248019"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.249717"], ["updated_at", "2016-04-02 23:37:54.249717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.251863"], ["updated_at", "2016-04-02 23:37:54.251863"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.253602"], ["updated_at", "2016-04-02 23:37:54.253602"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:54.255258"], ["updated_at", "2016-04-02 23:37:54.255258"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.268826"], ["updated_at", "2016-04-02 23:37:54.268826"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.270703"], ["updated_at", "2016-04-02 23:37:54.270703"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.272451"], ["updated_at", "2016-04-02 23:37:54.272451"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.274165"], ["updated_at", "2016-04-02 23:37:54.274165"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.275859"], ["updated_at", "2016-04-02 23:37:54.275859"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:54.277532"], ["updated_at", "2016-04-02 23:37:54.277532"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.282176"], ["updated_at", "2016-04-02 23:37:54.282176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.284524"], ["updated_at", "2016-04-02 23:37:54.284524"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.287814"], ["updated_at", "2016-04-02 23:37:54.287814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.289435"], ["updated_at", "2016-04-02 23:37:54.289435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.290905"], ["updated_at", "2016-04-02 23:37:54.290905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:54.292273"], ["updated_at", "2016-04-02 23:37:54.292273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.296362"], ["updated_at", "2016-04-02 23:37:54.296362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.297971"], ["updated_at", "2016-04-02 23:37:54.297971"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.299572"], ["updated_at", "2016-04-02 23:37:54.299572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.301736"], ["updated_at", "2016-04-02 23:37:54.301736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.303181"], ["updated_at", "2016-04-02 23:37:54.303181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:54.304563"], ["updated_at", "2016-04-02 23:37:54.304563"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.308280"], ["updated_at", "2016-04-02 23:37:54.308280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:37:54.309856"], ["updated_at", "2016-04-02 23:37:54.309856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.311206"], ["updated_at", "2016-04-02 23:37:54.311206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.312589"], ["updated_at", "2016-04-02 23:37:54.312589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:37:54.313924"], ["updated_at", "2016-04-02 23:37:54.313924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:37:54.315836"], ["updated_at", "2016-04-02 23:37:54.315836"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:37:54.358124"], ["updated_at", "2016-04-02 23:37:54.358124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:37:54.360188"], ["updated_at", "2016-04-02 23:37:54.360188"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:37:54.361869"], ["updated_at", "2016-04-02 23:37:54.361869"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:37:54.374404"], ["updated_at", "2016-04-02 23:37:54.374404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:37:54.379579"], ["updated_at", "2016-04-02 23:37:54.379579"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:37:54.381607"], ["updated_at", "2016-04-02 23:37:54.381607"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:37:54.383295"], ["updated_at", "2016-04-02 23:37:54.383295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:37:54.389962"], ["updated_at", "2016-04-02 23:37:54.389962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:37:54.391756"], ["updated_at", "2016-04-02 23:37:54.391756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:37:54.393234"], ["updated_at", "2016-04-02 23:37:54.393234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:37:54.394740"], ["updated_at", "2016-04-02 23:37:54.394740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:37:54.396344"], ["updated_at", "2016-04-02 23:37:54.396344"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:37:54.397972"], ["updated_at", "2016-04-02 23:37:54.397972"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:37:54.419654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:37:54.421337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:37:54.422890"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:37:54.424472"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:38:00.939858"], ["updated_at", "2016-04-02 23:38:00.939858"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:38:00.944343"], ["updated_at", "2016-04-02 23:38:00.944343"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:38:00.946527"], ["updated_at", "2016-04-02 23:38:00.946527"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:38:00.948643"], ["updated_at", "2016-04-02 23:38:00.948643"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:38:00.950674"], ["updated_at", "2016-04-02 23:38:00.950674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:38:00.953300"], ["updated_at", "2016-04-02 23:38:00.953300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST Post Load (0.4ms) SELECT "posts".* FROM "posts" Post Load (0.4ms) SELECT posts.author AS _repor_dimension_author FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.445861"], ["updated_at", "2016-04-02 23:39:43.445861"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.450264"], ["updated_at", "2016-04-02 23:39:43.450264"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.452058"], ["updated_at", "2016-04-02 23:39:43.452058"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.453787"], ["updated_at", "2016-04-02 23:39:43.453787"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.455495"], ["updated_at", "2016-04-02 23:39:43.455495"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:39:43.457218"], ["updated_at", "2016-04-02 23:39:43.457218"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.470770"], ["updated_at", "2016-04-02 23:39:43.470770"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.472664"], ["updated_at", "2016-04-02 23:39:43.472664"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.474396"], ["updated_at", "2016-04-02 23:39:43.474396"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.476101"], ["updated_at", "2016-04-02 23:39:43.476101"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.477828"], ["updated_at", "2016-04-02 23:39:43.477828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:39:43.479488"], ["updated_at", "2016-04-02 23:39:43.479488"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.483481"], ["updated_at", "2016-04-02 23:39:43.483481"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.485391"], ["updated_at", "2016-04-02 23:39:43.485391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.487109"], ["updated_at", "2016-04-02 23:39:43.487109"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.488782"], ["updated_at", "2016-04-02 23:39:43.488782"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.490450"], ["updated_at", "2016-04-02 23:39:43.490450"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:39:43.492054"], ["updated_at", "2016-04-02 23:39:43.492054"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.495697"], ["updated_at", "2016-04-02 23:39:43.495697"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.497465"], ["updated_at", "2016-04-02 23:39:43.497465"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.499060"], ["updated_at", "2016-04-02 23:39:43.499060"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.500704"], ["updated_at", "2016-04-02 23:39:43.500704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.502289"], ["updated_at", "2016-04-02 23:39:43.502289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:39:43.504090"], ["updated_at", "2016-04-02 23:39:43.504090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.511509"], ["updated_at", "2016-04-02 23:39:43.511509"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.513493"], ["updated_at", "2016-04-02 23:39:43.513493"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.515172"], ["updated_at", "2016-04-02 23:39:43.515172"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.516920"], ["updated_at", "2016-04-02 23:39:43.516920"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.519604"], ["updated_at", "2016-04-02 23:39:43.519604"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:39:43.521473"], ["updated_at", "2016-04-02 23:39:43.521473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.525001"], ["updated_at", "2016-04-02 23:39:43.525001"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:39:43.526706"], ["updated_at", "2016-04-02 23:39:43.526706"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.528231"], ["updated_at", "2016-04-02 23:39:43.528231"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.529834"], ["updated_at", "2016-04-02 23:39:43.529834"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:39:43.531567"], ["updated_at", "2016-04-02 23:39:43.531567"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:39:43.533396"], ["updated_at", "2016-04-02 23:39:43.533396"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:39:43.575886"], ["updated_at", "2016-04-02 23:39:43.575886"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:39:43.577898"], ["updated_at", "2016-04-02 23:39:43.577898"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:39:43.579518"], ["updated_at", "2016-04-02 23:39:43.579518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:39:43.591866"], ["updated_at", "2016-04-02 23:39:43.591866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:39:43.597071"], ["updated_at", "2016-04-02 23:39:43.597071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:39:43.598970"], ["updated_at", "2016-04-02 23:39:43.598970"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:39:43.600615"], ["updated_at", "2016-04-02 23:39:43.600615"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:39:43.606754"], ["updated_at", "2016-04-02 23:39:43.606754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:39:43.608463"], ["updated_at", "2016-04-02 23:39:43.608463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:39:43.609986"], ["updated_at", "2016-04-02 23:39:43.609986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:39:43.611452"], ["updated_at", "2016-04-02 23:39:43.611452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:39:43.612955"], ["updated_at", "2016-04-02 23:39:43.612955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:39:43.614455"], ["updated_at", "2016-04-02 23:39:43.614455"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:39:43.635962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:39:43.637692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:39:43.639250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:39:43.640880"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.716624"], ["updated_at", "2016-04-02 23:40:33.716624"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.721950"], ["updated_at", "2016-04-02 23:40:33.721950"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.723895"], ["updated_at", "2016-04-02 23:40:33.723895"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.725672"], ["updated_at", "2016-04-02 23:40:33.725672"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.727396"], ["updated_at", "2016-04-02 23:40:33.727396"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:40:33.729137"], ["updated_at", "2016-04-02 23:40:33.729137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.734959"], ["updated_at", "2016-04-02 23:40:33.734959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.736855"], ["updated_at", "2016-04-02 23:40:33.736855"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.738649"], ["updated_at", "2016-04-02 23:40:33.738649"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.740390"], ["updated_at", "2016-04-02 23:40:33.740390"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.742127"], ["updated_at", "2016-04-02 23:40:33.742127"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:40:33.743827"], ["updated_at", "2016-04-02 23:40:33.743827"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.747838"], ["updated_at", "2016-04-02 23:40:33.747838"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.749834"], ["updated_at", "2016-04-02 23:40:33.749834"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.751593"], ["updated_at", "2016-04-02 23:40:33.751593"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.753337"], ["updated_at", "2016-04-02 23:40:33.753337"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.755069"], ["updated_at", "2016-04-02 23:40:33.755069"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:40:33.756749"], ["updated_at", "2016-04-02 23:40:33.756749"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.760803"], ["updated_at", "2016-04-02 23:40:33.760803"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.762739"], ["updated_at", "2016-04-02 23:40:33.762739"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.764492"], ["updated_at", "2016-04-02 23:40:33.764492"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.766268"], ["updated_at", "2016-04-02 23:40:33.766268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.768040"], ["updated_at", "2016-04-02 23:40:33.768040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:40:33.770274"], ["updated_at", "2016-04-02 23:40:33.770274"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.784286"], ["updated_at", "2016-04-02 23:40:33.784286"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.786981"], ["updated_at", "2016-04-02 23:40:33.786981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.788548"], ["updated_at", "2016-04-02 23:40:33.788548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.789907"], ["updated_at", "2016-04-02 23:40:33.789907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.791235"], ["updated_at", "2016-04-02 23:40:33.791235"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:40:33.792574"], ["updated_at", "2016-04-02 23:40:33.792574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.795808"], ["updated_at", "2016-04-02 23:40:33.795808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:40:33.797396"], ["updated_at", "2016-04-02 23:40:33.797396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.798794"], ["updated_at", "2016-04-02 23:40:33.798794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.800357"], ["updated_at", "2016-04-02 23:40:33.800357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:40:33.801802"], ["updated_at", "2016-04-02 23:40:33.801802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:40:33.803178"], ["updated_at", "2016-04-02 23:40:33.803178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:40:33.846108"], ["updated_at", "2016-04-02 23:40:33.846108"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:40:33.848182"], ["updated_at", "2016-04-02 23:40:33.848182"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:40:33.850102"], ["updated_at", "2016-04-02 23:40:33.850102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:40:33.861818"], ["updated_at", "2016-04-02 23:40:33.861818"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:40:33.867366"], ["updated_at", "2016-04-02 23:40:33.867366"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:40:33.870571"], ["updated_at", "2016-04-02 23:40:33.870571"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:40:33.872327"], ["updated_at", "2016-04-02 23:40:33.872327"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:40:33.879089"], ["updated_at", "2016-04-02 23:40:33.879089"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:40:33.880854"], ["updated_at", "2016-04-02 23:40:33.880854"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:40:33.882446"], ["updated_at", "2016-04-02 23:40:33.882446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:40:33.884157"], ["updated_at", "2016-04-02 23:40:33.884157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:40:33.885706"], ["updated_at", "2016-04-02 23:40:33.885706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:40:33.887246"], ["updated_at", "2016-04-02 23:40:33.887246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:40:33.909716"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:40:33.911572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:40:33.913251"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:40:33.914879"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.027231"], ["updated_at", "2016-04-02 23:41:18.027231"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.031695"], ["updated_at", "2016-04-02 23:41:18.031695"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.033620"], ["updated_at", "2016-04-02 23:41:18.033620"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.035416"], ["updated_at", "2016-04-02 23:41:18.035416"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.037114"], ["updated_at", "2016-04-02 23:41:18.037114"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:18.038831"], ["updated_at", "2016-04-02 23:41:18.038831"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.044709"], ["updated_at", "2016-04-02 23:41:18.044709"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.046742"], ["updated_at", "2016-04-02 23:41:18.046742"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.048462"], ["updated_at", "2016-04-02 23:41:18.048462"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.050190"], ["updated_at", "2016-04-02 23:41:18.050190"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.051958"], ["updated_at", "2016-04-02 23:41:18.051958"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:18.053635"], ["updated_at", "2016-04-02 23:41:18.053635"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.057655"], ["updated_at", "2016-04-02 23:41:18.057655"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.059556"], ["updated_at", "2016-04-02 23:41:18.059556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.061270"], ["updated_at", "2016-04-02 23:41:18.061270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.063004"], ["updated_at", "2016-04-02 23:41:18.063004"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.064718"], ["updated_at", "2016-04-02 23:41:18.064718"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:18.066424"], ["updated_at", "2016-04-02 23:41:18.066424"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.070335"], ["updated_at", "2016-04-02 23:41:18.070335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.072097"], ["updated_at", "2016-04-02 23:41:18.072097"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.073745"], ["updated_at", "2016-04-02 23:41:18.073745"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.075392"], ["updated_at", "2016-04-02 23:41:18.075392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.077007"], ["updated_at", "2016-04-02 23:41:18.077007"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:18.079124"], ["updated_at", "2016-04-02 23:41:18.079124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.083076"], ["updated_at", "2016-04-02 23:41:18.083076"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.086177"], ["updated_at", "2016-04-02 23:41:18.086177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.087718"], ["updated_at", "2016-04-02 23:41:18.087718"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.089079"], ["updated_at", "2016-04-02 23:41:18.089079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.090483"], ["updated_at", "2016-04-02 23:41:18.090483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:18.091807"], ["updated_at", "2016-04-02 23:41:18.091807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.095195"], ["updated_at", "2016-04-02 23:41:18.095195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:18.096726"], ["updated_at", "2016-04-02 23:41:18.096726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.098084"], ["updated_at", "2016-04-02 23:41:18.098084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.099647"], ["updated_at", "2016-04-02 23:41:18.099647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:18.101078"], ["updated_at", "2016-04-02 23:41:18.101078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:18.102488"], ["updated_at", "2016-04-02 23:41:18.102488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:41:18.141671"], ["updated_at", "2016-04-02 23:41:18.141671"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:41:18.143696"], ["updated_at", "2016-04-02 23:41:18.143696"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:41:18.145352"], ["updated_at", "2016-04-02 23:41:18.145352"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:41:18.157359"], ["updated_at", "2016-04-02 23:41:18.157359"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:41:18.162405"], ["updated_at", "2016-04-02 23:41:18.162405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:41:18.164391"], ["updated_at", "2016-04-02 23:41:18.164391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:41:18.166148"], ["updated_at", "2016-04-02 23:41:18.166148"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:41:18.173221"], ["updated_at", "2016-04-02 23:41:18.173221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:41:18.174852"], ["updated_at", "2016-04-02 23:41:18.174852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:41:18.176206"], ["updated_at", "2016-04-02 23:41:18.176206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:41:18.177473"], ["updated_at", "2016-04-02 23:41:18.177473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:41:18.178756"], ["updated_at", "2016-04-02 23:41:18.178756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:41:18.180077"], ["updated_at", "2016-04-02 23:41:18.180077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:41:18.199937"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:41:18.202918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:41:18.204550"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:41:18.206121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.925530"], ["updated_at", "2016-04-02 23:41:24.925530"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.929917"], ["updated_at", "2016-04-02 23:41:24.929917"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.931680"], ["updated_at", "2016-04-02 23:41:24.931680"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.933477"], ["updated_at", "2016-04-02 23:41:24.933477"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.935226"], ["updated_at", "2016-04-02 23:41:24.935226"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:24.936896"], ["updated_at", "2016-04-02 23:41:24.936896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.942546"], ["updated_at", "2016-04-02 23:41:24.942546"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.944551"], ["updated_at", "2016-04-02 23:41:24.944551"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.946324"], ["updated_at", "2016-04-02 23:41:24.946324"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.948107"], ["updated_at", "2016-04-02 23:41:24.948107"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.949961"], ["updated_at", "2016-04-02 23:41:24.949961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:24.951766"], ["updated_at", "2016-04-02 23:41:24.951766"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.955846"], ["updated_at", "2016-04-02 23:41:24.955846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.957792"], ["updated_at", "2016-04-02 23:41:24.957792"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.959624"], ["updated_at", "2016-04-02 23:41:24.959624"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.961381"], ["updated_at", "2016-04-02 23:41:24.961381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.963064"], ["updated_at", "2016-04-02 23:41:24.963064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:24.964730"], ["updated_at", "2016-04-02 23:41:24.964730"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.968935"], ["updated_at", "2016-04-02 23:41:24.968935"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.970901"], ["updated_at", "2016-04-02 23:41:24.970901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.972710"], ["updated_at", "2016-04-02 23:41:24.972710"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.974463"], ["updated_at", "2016-04-02 23:41:24.974463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.976446"], ["updated_at", "2016-04-02 23:41:24.976446"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:24.978456"], ["updated_at", "2016-04-02 23:41:24.978456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.982952"], ["updated_at", "2016-04-02 23:41:24.982952"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.986117"], ["updated_at", "2016-04-02 23:41:24.986117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.988715"], ["updated_at", "2016-04-02 23:41:24.988715"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.990581"], ["updated_at", "2016-04-02 23:41:24.990581"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:24.992440"], ["updated_at", "2016-04-02 23:41:24.992440"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:24.994222"], ["updated_at", "2016-04-02 23:41:24.994222"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:41:24.998324"], ["updated_at", "2016-04-02 23:41:24.998324"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:41:25.000357"], ["updated_at", "2016-04-02 23:41:25.000357"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:41:25.002191"], ["updated_at", "2016-04-02 23:41:25.002191"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:41:25.003965"], ["updated_at", "2016-04-02 23:41:25.003965"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:41:25.005703"], ["updated_at", "2016-04-02 23:41:25.005703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:41:25.007372"], ["updated_at", "2016-04-02 23:41:25.007372"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:41:25.051590"], ["updated_at", "2016-04-02 23:41:25.051590"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:41:25.053890"], ["updated_at", "2016-04-02 23:41:25.053890"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:41:25.055725"], ["updated_at", "2016-04-02 23:41:25.055725"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:41:25.068228"], ["updated_at", "2016-04-02 23:41:25.068228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:41:25.073978"], ["updated_at", "2016-04-02 23:41:25.073978"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:41:25.076147"], ["updated_at", "2016-04-02 23:41:25.076147"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:41:25.077911"], ["updated_at", "2016-04-02 23:41:25.077911"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:41:25.084798"], ["updated_at", "2016-04-02 23:41:25.084798"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:41:25.086612"], ["updated_at", "2016-04-02 23:41:25.086612"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:41:25.088217"], ["updated_at", "2016-04-02 23:41:25.088217"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:41:25.089781"], ["updated_at", "2016-04-02 23:41:25.089781"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:41:25.091323"], ["updated_at", "2016-04-02 23:41:25.091323"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:41:25.093345"], ["updated_at", "2016-04-02 23:41:25.093345"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:41:25.116548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:41:25.118558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:41:25.120265"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:41:25.121986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.045772"], ["updated_at", "2016-04-02 23:43:03.045772"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.050102"], ["updated_at", "2016-04-02 23:43:03.050102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.051925"], ["updated_at", "2016-04-02 23:43:03.051925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.053478"], ["updated_at", "2016-04-02 23:43:03.053478"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.055027"], ["updated_at", "2016-04-02 23:43:03.055027"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:03.056723"], ["updated_at", "2016-04-02 23:43:03.056723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.062242"], ["updated_at", "2016-04-02 23:43:03.062242"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.064100"], ["updated_at", "2016-04-02 23:43:03.064100"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.065883"], ["updated_at", "2016-04-02 23:43:03.065883"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.068200"], ["updated_at", "2016-04-02 23:43:03.068200"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.069971"], ["updated_at", "2016-04-02 23:43:03.069971"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:03.071757"], ["updated_at", "2016-04-02 23:43:03.071757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.075785"], ["updated_at", "2016-04-02 23:43:03.075785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.077574"], ["updated_at", "2016-04-02 23:43:03.077574"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.079235"], ["updated_at", "2016-04-02 23:43:03.079235"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.080923"], ["updated_at", "2016-04-02 23:43:03.080923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.082612"], ["updated_at", "2016-04-02 23:43:03.082612"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:03.084306"], ["updated_at", "2016-04-02 23:43:03.084306"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.088220"], ["updated_at", "2016-04-02 23:43:03.088220"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.090051"], ["updated_at", "2016-04-02 23:43:03.090051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.091726"], ["updated_at", "2016-04-02 23:43:03.091726"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.093418"], ["updated_at", "2016-04-02 23:43:03.093418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.095161"], ["updated_at", "2016-04-02 23:43:03.095161"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:03.097285"], ["updated_at", "2016-04-02 23:43:03.097285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.111285"], ["updated_at", "2016-04-02 23:43:03.111285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.113140"], ["updated_at", "2016-04-02 23:43:03.113140"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.114825"], ["updated_at", "2016-04-02 23:43:03.114825"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.116619"], ["updated_at", "2016-04-02 23:43:03.116619"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.118380"], ["updated_at", "2016-04-02 23:43:03.118380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:03.120060"], ["updated_at", "2016-04-02 23:43:03.120060"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.123906"], ["updated_at", "2016-04-02 23:43:03.123906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:03.125862"], ["updated_at", "2016-04-02 23:43:03.125862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.127562"], ["updated_at", "2016-04-02 23:43:03.127562"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.129234"], ["updated_at", "2016-04-02 23:43:03.129234"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:03.130898"], ["updated_at", "2016-04-02 23:43:03.130898"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:03.132576"], ["updated_at", "2016-04-02 23:43:03.132576"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:43:03.177335"], ["updated_at", "2016-04-02 23:43:03.177335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:43:03.179301"], ["updated_at", "2016-04-02 23:43:03.179301"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:43:03.180973"], ["updated_at", "2016-04-02 23:43:03.180973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:43:03.192408"], ["updated_at", "2016-04-02 23:43:03.192408"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:43:03.197633"], ["updated_at", "2016-04-02 23:43:03.197633"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:43:03.199631"], ["updated_at", "2016-04-02 23:43:03.199631"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:43:03.202168"], ["updated_at", "2016-04-02 23:43:03.202168"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:43:03.208794"], ["updated_at", "2016-04-02 23:43:03.208794"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:43:03.210447"], ["updated_at", "2016-04-02 23:43:03.210447"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:43:03.211944"], ["updated_at", "2016-04-02 23:43:03.211944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:43:03.213404"], ["updated_at", "2016-04-02 23:43:03.213404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:43:03.214900"], ["updated_at", "2016-04-02 23:43:03.214900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:43:03.216460"], ["updated_at", "2016-04-02 23:43:03.216460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:43:03.237384"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:43:03.238913"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:43:03.240683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:43:03.242347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.220263"], ["updated_at", "2016-04-02 23:43:56.220263"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.224728"], ["updated_at", "2016-04-02 23:43:56.224728"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.226562"], ["updated_at", "2016-04-02 23:43:56.226562"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.228262"], ["updated_at", "2016-04-02 23:43:56.228262"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.229931"], ["updated_at", "2016-04-02 23:43:56.229931"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:56.231580"], ["updated_at", "2016-04-02 23:43:56.231580"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.237176"], ["updated_at", "2016-04-02 23:43:56.237176"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.239056"], ["updated_at", "2016-04-02 23:43:56.239056"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.240726"], ["updated_at", "2016-04-02 23:43:56.240726"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.242377"], ["updated_at", "2016-04-02 23:43:56.242377"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.244073"], ["updated_at", "2016-04-02 23:43:56.244073"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:56.245677"], ["updated_at", "2016-04-02 23:43:56.245677"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.249572"], ["updated_at", "2016-04-02 23:43:56.249572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.251483"], ["updated_at", "2016-04-02 23:43:56.251483"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.253091"], ["updated_at", "2016-04-02 23:43:56.253091"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.254697"], ["updated_at", "2016-04-02 23:43:56.254697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.256271"], ["updated_at", "2016-04-02 23:43:56.256271"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:56.257783"], ["updated_at", "2016-04-02 23:43:56.257783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.261457"], ["updated_at", "2016-04-02 23:43:56.261457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.263145"], ["updated_at", "2016-04-02 23:43:56.263145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.264675"], ["updated_at", "2016-04-02 23:43:56.264675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.266192"], ["updated_at", "2016-04-02 23:43:56.266192"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.267794"], ["updated_at", "2016-04-02 23:43:56.267794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:56.269358"], ["updated_at", "2016-04-02 23:43:56.269358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.273751"], ["updated_at", "2016-04-02 23:43:56.273751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.275601"], ["updated_at", "2016-04-02 23:43:56.275601"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.277233"], ["updated_at", "2016-04-02 23:43:56.277233"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.278804"], ["updated_at", "2016-04-02 23:43:56.278804"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.280421"], ["updated_at", "2016-04-02 23:43:56.280421"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:56.281957"], ["updated_at", "2016-04-02 23:43:56.281957"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.286314"], ["updated_at", "2016-04-02 23:43:56.286314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:43:56.289723"], ["updated_at", "2016-04-02 23:43:56.289723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.291431"], ["updated_at", "2016-04-02 23:43:56.291431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.292861"], ["updated_at", "2016-04-02 23:43:56.292861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:43:56.294198"], ["updated_at", "2016-04-02 23:43:56.294198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:43:56.295576"], ["updated_at", "2016-04-02 23:43:56.295576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:43:56.335437"], ["updated_at", "2016-04-02 23:43:56.335437"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:43:56.337584"], ["updated_at", "2016-04-02 23:43:56.337584"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:43:56.339310"], ["updated_at", "2016-04-02 23:43:56.339310"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:43:56.351679"], ["updated_at", "2016-04-02 23:43:56.351679"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:43:56.356987"], ["updated_at", "2016-04-02 23:43:56.356987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:43:56.358905"], ["updated_at", "2016-04-02 23:43:56.358905"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:43:56.360465"], ["updated_at", "2016-04-02 23:43:56.360465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:43:56.366923"], ["updated_at", "2016-04-02 23:43:56.366923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:43:56.368696"], ["updated_at", "2016-04-02 23:43:56.368696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:43:56.370314"], ["updated_at", "2016-04-02 23:43:56.370314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:43:56.371839"], ["updated_at", "2016-04-02 23:43:56.371839"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:43:56.373322"], ["updated_at", "2016-04-02 23:43:56.373322"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:43:56.374844"], ["updated_at", "2016-04-02 23:43:56.374844"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:43:56.397243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:43:56.399059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:43:56.400852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:43:56.402410"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.198715"], ["updated_at", "2016-04-02 23:44:46.198715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.203101"], ["updated_at", "2016-04-02 23:44:46.203101"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.204871"], ["updated_at", "2016-04-02 23:44:46.204871"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.206582"], ["updated_at", "2016-04-02 23:44:46.206582"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.208273"], ["updated_at", "2016-04-02 23:44:46.208273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:44:46.209977"], ["updated_at", "2016-04-02 23:44:46.209977"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.215558"], ["updated_at", "2016-04-02 23:44:46.215558"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.217413"], ["updated_at", "2016-04-02 23:44:46.217413"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.219068"], ["updated_at", "2016-04-02 23:44:46.219068"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.220740"], ["updated_at", "2016-04-02 23:44:46.220740"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.222364"], ["updated_at", "2016-04-02 23:44:46.222364"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:44:46.224002"], ["updated_at", "2016-04-02 23:44:46.224002"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.227846"], ["updated_at", "2016-04-02 23:44:46.227846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.229720"], ["updated_at", "2016-04-02 23:44:46.229720"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.231225"], ["updated_at", "2016-04-02 23:44:46.231225"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.232747"], ["updated_at", "2016-04-02 23:44:46.232747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.234356"], ["updated_at", "2016-04-02 23:44:46.234356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:44:46.235847"], ["updated_at", "2016-04-02 23:44:46.235847"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.239358"], ["updated_at", "2016-04-02 23:44:46.239358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.241013"], ["updated_at", "2016-04-02 23:44:46.241013"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.242533"], ["updated_at", "2016-04-02 23:44:46.242533"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.244110"], ["updated_at", "2016-04-02 23:44:46.244110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.245622"], ["updated_at", "2016-04-02 23:44:46.245622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:44:46.247154"], ["updated_at", "2016-04-02 23:44:46.247154"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.252809"], ["updated_at", "2016-04-02 23:44:46.252809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.254453"], ["updated_at", "2016-04-02 23:44:46.254453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.256093"], ["updated_at", "2016-04-02 23:44:46.256093"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.257785"], ["updated_at", "2016-04-02 23:44:46.257785"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.259540"], ["updated_at", "2016-04-02 23:44:46.259540"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:44:46.261265"], ["updated_at", "2016-04-02 23:44:46.261265"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.265037"], ["updated_at", "2016-04-02 23:44:46.265037"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:44:46.266905"], ["updated_at", "2016-04-02 23:44:46.266905"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.268610"], ["updated_at", "2016-04-02 23:44:46.268610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.270276"], ["updated_at", "2016-04-02 23:44:46.270276"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:44:46.271923"], ["updated_at", "2016-04-02 23:44:46.271923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:44:46.273630"], ["updated_at", "2016-04-02 23:44:46.273630"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:44:46.313460"], ["updated_at", "2016-04-02 23:44:46.313460"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:44:46.315382"], ["updated_at", "2016-04-02 23:44:46.315382"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:44:46.317152"], ["updated_at", "2016-04-02 23:44:46.317152"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:44:46.328362"], ["updated_at", "2016-04-02 23:44:46.328362"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:44:46.333377"], ["updated_at", "2016-04-02 23:44:46.333377"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:44:46.336210"], ["updated_at", "2016-04-02 23:44:46.336210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:44:46.337722"], ["updated_at", "2016-04-02 23:44:46.337722"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:44:46.343909"], ["updated_at", "2016-04-02 23:44:46.343909"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:44:46.345535"], ["updated_at", "2016-04-02 23:44:46.345535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:44:46.347046"], ["updated_at", "2016-04-02 23:44:46.347046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:44:46.348491"], ["updated_at", "2016-04-02 23:44:46.348491"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:44:46.350019"], ["updated_at", "2016-04-02 23:44:46.350019"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:44:46.351518"], ["updated_at", "2016-04-02 23:44:46.351518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:44:46.372777"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:44:46.374606"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:44:46.376430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:44:46.378008"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:45:04.731515"], ["updated_at", "2016-04-02 23:45:04.731515"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:45:04.736023"], ["updated_at", "2016-04-02 23:45:04.736023"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:45:04.737776"], ["updated_at", "2016-04-02 23:45:04.737776"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:45:04.739475"], ["updated_at", "2016-04-02 23:45:04.739475"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:45:04.741146"], ["updated_at", "2016-04-02 23:45:04.741146"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:45:04.742830"], ["updated_at", "2016-04-02 23:45:04.742830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:45:36.742677"], ["updated_at", "2016-04-02 23:45:36.742677"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:45:36.744754"], ["updated_at", "2016-04-02 23:45:36.744754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:45:36.746373"], ["updated_at", "2016-04-02 23:45:36.746373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:45:36.747975"], ["updated_at", "2016-04-02 23:45:36.747975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:45:36.749600"], ["updated_at", "2016-04-02 23:45:36.749600"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:45:36.751260"], ["updated_at", "2016-04-02 23:45:36.751260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.392857"], ["updated_at", "2016-04-02 23:52:01.392857"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.397540"], ["updated_at", "2016-04-02 23:52:01.397540"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.399353"], ["updated_at", "2016-04-02 23:52:01.399353"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.401281"], ["updated_at", "2016-04-02 23:52:01.401281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.403358"], ["updated_at", "2016-04-02 23:52:01.403358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:01.405273"], ["updated_at", "2016-04-02 23:52:01.405273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.411270"], ["updated_at", "2016-04-02 23:52:01.411270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.413308"], ["updated_at", "2016-04-02 23:52:01.413308"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.415071"], ["updated_at", "2016-04-02 23:52:01.415071"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.416935"], ["updated_at", "2016-04-02 23:52:01.416935"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.418715"], ["updated_at", "2016-04-02 23:52:01.418715"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:01.420470"], ["updated_at", "2016-04-02 23:52:01.420470"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.424394"], ["updated_at", "2016-04-02 23:52:01.424394"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.426498"], ["updated_at", "2016-04-02 23:52:01.426498"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.428328"], ["updated_at", "2016-04-02 23:52:01.428328"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.430099"], ["updated_at", "2016-04-02 23:52:01.430099"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.431846"], ["updated_at", "2016-04-02 23:52:01.431846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:01.433588"], ["updated_at", "2016-04-02 23:52:01.433588"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.437975"], ["updated_at", "2016-04-02 23:52:01.437975"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.440002"], ["updated_at", "2016-04-02 23:52:01.440002"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.441837"], ["updated_at", "2016-04-02 23:52:01.441837"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.443680"], ["updated_at", "2016-04-02 23:52:01.443680"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.445882"], ["updated_at", "2016-04-02 23:52:01.445882"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:01.447727"], ["updated_at", "2016-04-02 23:52:01.447727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.453063"], ["updated_at", "2016-04-02 23:52:01.453063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.455103"], ["updated_at", "2016-04-02 23:52:01.455103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.456589"], ["updated_at", "2016-04-02 23:52:01.456589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.457992"], ["updated_at", "2016-04-02 23:52:01.457992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.459361"], ["updated_at", "2016-04-02 23:52:01.459361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:01.460706"], ["updated_at", "2016-04-02 23:52:01.460706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.463890"], ["updated_at", "2016-04-02 23:52:01.463890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:01.465509"], ["updated_at", "2016-04-02 23:52:01.465509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.466976"], ["updated_at", "2016-04-02 23:52:01.466976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.468385"], ["updated_at", "2016-04-02 23:52:01.468385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:01.469728"], ["updated_at", "2016-04-02 23:52:01.469728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:01.471077"], ["updated_at", "2016-04-02 23:52:01.471077"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:52:01.505463"], ["updated_at", "2016-04-02 23:52:01.505463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:52:01.507645"], ["updated_at", "2016-04-02 23:52:01.507645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:52:01.509415"], ["updated_at", "2016-04-02 23:52:01.509415"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:52:01.526899"], ["updated_at", "2016-04-02 23:52:01.526899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:52:01.532143"], ["updated_at", "2016-04-02 23:52:01.532143"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:52:01.534152"], ["updated_at", "2016-04-02 23:52:01.534152"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:52:01.536840"], ["updated_at", "2016-04-02 23:52:01.536840"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:52:01.543346"], ["updated_at", "2016-04-02 23:52:01.543346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:52:01.545001"], ["updated_at", "2016-04-02 23:52:01.545001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:52:01.546504"], ["updated_at", "2016-04-02 23:52:01.546504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:52:01.548171"], ["updated_at", "2016-04-02 23:52:01.548171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:52:01.549874"], ["updated_at", "2016-04-02 23:52:01.549874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:52:01.551877"], ["updated_at", "2016-04-02 23:52:01.551877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:52:01.574321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:52:01.575885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:52:01.577282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:52:01.578665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.028303"], ["updated_at", "2016-04-02 23:52:56.028303"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.032882"], ["updated_at", "2016-04-02 23:52:56.032882"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.034820"], ["updated_at", "2016-04-02 23:52:56.034820"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.036554"], ["updated_at", "2016-04-02 23:52:56.036554"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.038264"], ["updated_at", "2016-04-02 23:52:56.038264"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:56.040228"], ["updated_at", "2016-04-02 23:52:56.040228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.045714"], ["updated_at", "2016-04-02 23:52:56.045714"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.047623"], ["updated_at", "2016-04-02 23:52:56.047623"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.049412"], ["updated_at", "2016-04-02 23:52:56.049412"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.051235"], ["updated_at", "2016-04-02 23:52:56.051235"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.053202"], ["updated_at", "2016-04-02 23:52:56.053202"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:56.054890"], ["updated_at", "2016-04-02 23:52:56.054890"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.058676"], ["updated_at", "2016-04-02 23:52:56.058676"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.060680"], ["updated_at", "2016-04-02 23:52:56.060680"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.062403"], ["updated_at", "2016-04-02 23:52:56.062403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.064096"], ["updated_at", "2016-04-02 23:52:56.064096"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.065807"], ["updated_at", "2016-04-02 23:52:56.065807"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:56.067669"], ["updated_at", "2016-04-02 23:52:56.067669"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.071711"], ["updated_at", "2016-04-02 23:52:56.071711"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.073598"], ["updated_at", "2016-04-02 23:52:56.073598"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.075264"], ["updated_at", "2016-04-02 23:52:56.075264"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.076979"], ["updated_at", "2016-04-02 23:52:56.076979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.078678"], ["updated_at", "2016-04-02 23:52:56.078678"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:56.080814"], ["updated_at", "2016-04-02 23:52:56.080814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.085648"], ["updated_at", "2016-04-02 23:52:56.085648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.088192"], ["updated_at", "2016-04-02 23:52:56.088192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.089650"], ["updated_at", "2016-04-02 23:52:56.089650"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.091051"], ["updated_at", "2016-04-02 23:52:56.091051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.092441"], ["updated_at", "2016-04-02 23:52:56.092441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:56.093802"], ["updated_at", "2016-04-02 23:52:56.093802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.097026"], ["updated_at", "2016-04-02 23:52:56.097026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:52:56.098573"], ["updated_at", "2016-04-02 23:52:56.098573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.100195"], ["updated_at", "2016-04-02 23:52:56.100195"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.102265"], ["updated_at", "2016-04-02 23:52:56.102265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:52:56.103807"], ["updated_at", "2016-04-02 23:52:56.103807"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:52:56.105414"], ["updated_at", "2016-04-02 23:52:56.105414"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:52:56.139450"], ["updated_at", "2016-04-02 23:52:56.139450"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:52:56.141523"], ["updated_at", "2016-04-02 23:52:56.141523"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:52:56.143227"], ["updated_at", "2016-04-02 23:52:56.143227"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:52:56.159992"], ["updated_at", "2016-04-02 23:52:56.159992"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:52:56.165280"], ["updated_at", "2016-04-02 23:52:56.165280"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:52:56.167323"], ["updated_at", "2016-04-02 23:52:56.167323"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:52:56.170147"], ["updated_at", "2016-04-02 23:52:56.170147"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:52:56.176590"], ["updated_at", "2016-04-02 23:52:56.176590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:52:56.178278"], ["updated_at", "2016-04-02 23:52:56.178278"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:52:56.179830"], ["updated_at", "2016-04-02 23:52:56.179830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:52:56.181333"], ["updated_at", "2016-04-02 23:52:56.181333"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:52:56.182856"], ["updated_at", "2016-04-02 23:52:56.182856"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:52:56.184549"], ["updated_at", "2016-04-02 23:52:56.184549"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:52:56.205833"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:52:56.207530"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:52:56.209115"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:52:56.210665"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.8ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.310322"], ["updated_at", "2016-04-02 23:53:35.310322"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.314944"], ["updated_at", "2016-04-02 23:53:35.314944"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.316759"], ["updated_at", "2016-04-02 23:53:35.316759"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.318758"], ["updated_at", "2016-04-02 23:53:35.318758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.320516"], ["updated_at", "2016-04-02 23:53:35.320516"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:53:35.322226"], ["updated_at", "2016-04-02 23:53:35.322226"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.328094"], ["updated_at", "2016-04-02 23:53:35.328094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.330004"], ["updated_at", "2016-04-02 23:53:35.330004"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.331731"], ["updated_at", "2016-04-02 23:53:35.331731"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.333591"], ["updated_at", "2016-04-02 23:53:35.333591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.335522"], ["updated_at", "2016-04-02 23:53:35.335522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:53:35.337240"], ["updated_at", "2016-04-02 23:53:35.337240"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.341200"], ["updated_at", "2016-04-02 23:53:35.341200"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.343320"], ["updated_at", "2016-04-02 23:53:35.343320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.345053"], ["updated_at", "2016-04-02 23:53:35.345053"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.346714"], ["updated_at", "2016-04-02 23:53:35.346714"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.348400"], ["updated_at", "2016-04-02 23:53:35.348400"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:53:35.350306"], ["updated_at", "2016-04-02 23:53:35.350306"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.354372"], ["updated_at", "2016-04-02 23:53:35.354372"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.356203"], ["updated_at", "2016-04-02 23:53:35.356203"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.358240"], ["updated_at", "2016-04-02 23:53:35.358240"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.360131"], ["updated_at", "2016-04-02 23:53:35.360131"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.362049"], ["updated_at", "2016-04-02 23:53:35.362049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:53:35.363866"], ["updated_at", "2016-04-02 23:53:35.363866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.368284"], ["updated_at", "2016-04-02 23:53:35.368284"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.370143"], ["updated_at", "2016-04-02 23:53:35.370143"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.371900"], ["updated_at", "2016-04-02 23:53:35.371900"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.373817"], ["updated_at", "2016-04-02 23:53:35.373817"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.375778"], ["updated_at", "2016-04-02 23:53:35.375778"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:53:35.377503"], ["updated_at", "2016-04-02 23:53:35.377503"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.381400"], ["updated_at", "2016-04-02 23:53:35.381400"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-02 23:53:35.383514"], ["updated_at", "2016-04-02 23:53:35.383514"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.385221"], ["updated_at", "2016-04-02 23:53:35.385221"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.386899"], ["updated_at", "2016-04-02 23:53:35.386899"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-02 23:53:35.388519"], ["updated_at", "2016-04-02 23:53:35.388519"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-02 23:53:35.390467"], ["updated_at", "2016-04-02 23:53:35.390467"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-02 23:53:35.426697"], ["updated_at", "2016-04-02 23:53:35.426697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-02 23:53:35.428556"], ["updated_at", "2016-04-02 23:53:35.428556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-02 23:53:35.430326"], ["updated_at", "2016-04-02 23:53:35.430326"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-02 23:53:35.447089"], ["updated_at", "2016-04-02 23:53:35.447089"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:53:35.452242"], ["updated_at", "2016-04-02 23:53:35.452242"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:53:35.454411"], ["updated_at", "2016-04-02 23:53:35.454411"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:53:35.456121"], ["updated_at", "2016-04-02 23:53:35.456121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:53:35.462538"], ["updated_at", "2016-04-02 23:53:35.462538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-02 23:53:35.464178"], ["updated_at", "2016-04-02 23:53:35.464178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-02 23:53:35.465678"], ["updated_at", "2016-04-02 23:53:35.465678"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:53:35.467174"], ["updated_at", "2016-04-02 23:53:35.467174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:53:35.468706"], ["updated_at", "2016-04-02 23:53:35.468706"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-02 23:53:35.470574"], ["updated_at", "2016-04-02 23:53:35.470574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:53:35.491736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-02 23:53:35.493512"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-02 23:53:35.495377"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-02 23:53:35.497012"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.523646"], ["updated_at", "2016-04-03 14:55:03.523646"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.535100"], ["updated_at", "2016-04-03 14:55:03.535100"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.538770"], ["updated_at", "2016-04-03 14:55:03.538770"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.542263"], ["updated_at", "2016-04-03 14:55:03.542263"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.545673"], ["updated_at", "2016-04-03 14:55:03.545673"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 14:55:03.549126"], ["updated_at", "2016-04-03 14:55:03.549126"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.561953"], ["updated_at", "2016-04-03 14:55:03.561953"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.565569"], ["updated_at", "2016-04-03 14:55:03.565569"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.569311"], ["updated_at", "2016-04-03 14:55:03.569311"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.572846"], ["updated_at", "2016-04-03 14:55:03.572846"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.576190"], ["updated_at", "2016-04-03 14:55:03.576190"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 14:55:03.579696"], ["updated_at", "2016-04-03 14:55:03.579696"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.587395"], ["updated_at", "2016-04-03 14:55:03.587395"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.591037"], ["updated_at", "2016-04-03 14:55:03.591037"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.594707"], ["updated_at", "2016-04-03 14:55:03.594707"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.598738"], ["updated_at", "2016-04-03 14:55:03.598738"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.602086"], ["updated_at", "2016-04-03 14:55:03.602086"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 14:55:03.607606"], ["updated_at", "2016-04-03 14:55:03.607606"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.615289"], ["updated_at", "2016-04-03 14:55:03.615289"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.619041"], ["updated_at", "2016-04-03 14:55:03.619041"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.622626"], ["updated_at", "2016-04-03 14:55:03.622626"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.626205"], ["updated_at", "2016-04-03 14:55:03.626205"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.629663"], ["updated_at", "2016-04-03 14:55:03.629663"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 14:55:03.632997"], ["updated_at", "2016-04-03 14:55:03.632997"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.641271"], ["updated_at", "2016-04-03 14:55:03.641271"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.644960"], ["updated_at", "2016-04-03 14:55:03.644960"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.648926"], ["updated_at", "2016-04-03 14:55:03.648926"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.653743"], ["updated_at", "2016-04-03 14:55:03.653743"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.657841"], ["updated_at", "2016-04-03 14:55:03.657841"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 14:55:03.661327"], ["updated_at", "2016-04-03 14:55:03.661327"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.668953"], ["updated_at", "2016-04-03 14:55:03.668953"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 14:55:03.672833"], ["updated_at", "2016-04-03 14:55:03.672833"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.676347"], ["updated_at", "2016-04-03 14:55:03.676347"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.679751"], ["updated_at", "2016-04-03 14:55:03.679751"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 14:55:03.683099"], ["updated_at", "2016-04-03 14:55:03.683099"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 14:55:03.686937"], ["updated_at", "2016-04-03 14:55:03.686937"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.7ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.7ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-03 14:55:03.780441"], ["updated_at", "2016-04-03 14:55:03.780441"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-03 14:55:03.784788"], ["updated_at", "2016-04-03 14:55:03.784788"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-03 14:55:03.788423"], ["updated_at", "2016-04-03 14:55:03.788423"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-03 14:55:03.858591"], ["updated_at", "2016-04-03 14:55:03.858591"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 14:55:03.868365"], ["updated_at", "2016-04-03 14:55:03.868365"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 14:55:03.872683"], ["updated_at", "2016-04-03 14:55:03.872683"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-03 14:55:03.876092"], ["updated_at", "2016-04-03 14:55:03.876092"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 14:55:03.889024"], ["updated_at", "2016-04-03 14:55:03.889024"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 14:55:03.893121"], ["updated_at", "2016-04-03 14:55:03.893121"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-03 14:55:03.896665"], ["updated_at", "2016-04-03 14:55:03.896665"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 14:55:03.899840"], ["updated_at", "2016-04-03 14:55:03.899840"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 14:55:03.904308"], ["updated_at", "2016-04-03 14:55:03.904308"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 14:55:03.908099"], ["updated_at", "2016-04-03 14:55:03.908099"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-03 14:55:03.950815"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-03 14:55:03.955739"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-03 14:55:03.958508"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-03 14:55:03.960765"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.625638"], ["updated_at", "2016-04-03 15:16:15.625638"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.633917"], ["updated_at", "2016-04-03 15:16:15.633917"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.636335"], ["updated_at", "2016-04-03 15:16:15.636335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.638258"], ["updated_at", "2016-04-03 15:16:15.638258"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.640146"], ["updated_at", "2016-04-03 15:16:15.640146"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:16:15.641830"], ["updated_at", "2016-04-03 15:16:15.641830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.650676"], ["updated_at", "2016-04-03 15:16:15.650676"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.652878"], ["updated_at", "2016-04-03 15:16:15.652878"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.654624"], ["updated_at", "2016-04-03 15:16:15.654624"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.656279"], ["updated_at", "2016-04-03 15:16:15.656279"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.657952"], ["updated_at", "2016-04-03 15:16:15.657952"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:16:15.659562"], ["updated_at", "2016-04-03 15:16:15.659562"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.663503"], ["updated_at", "2016-04-03 15:16:15.663503"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.665409"], ["updated_at", "2016-04-03 15:16:15.665409"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.667078"], ["updated_at", "2016-04-03 15:16:15.667078"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.668739"], ["updated_at", "2016-04-03 15:16:15.668739"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.670456"], ["updated_at", "2016-04-03 15:16:15.670456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:16:15.672423"], ["updated_at", "2016-04-03 15:16:15.672423"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.676331"], ["updated_at", "2016-04-03 15:16:15.676331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.678113"], ["updated_at", "2016-04-03 15:16:15.678113"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.679818"], ["updated_at", "2016-04-03 15:16:15.679818"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.681502"], ["updated_at", "2016-04-03 15:16:15.681502"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.683214"], ["updated_at", "2016-04-03 15:16:15.683214"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:16:15.685288"], ["updated_at", "2016-04-03 15:16:15.685288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.690856"], ["updated_at", "2016-04-03 15:16:15.690856"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.692692"], ["updated_at", "2016-04-03 15:16:15.692692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.694492"], ["updated_at", "2016-04-03 15:16:15.694492"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.696188"], ["updated_at", "2016-04-03 15:16:15.696188"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.697921"], ["updated_at", "2016-04-03 15:16:15.697921"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:16:15.699582"], ["updated_at", "2016-04-03 15:16:15.699582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.703235"], ["updated_at", "2016-04-03 15:16:15.703235"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:16:15.705157"], ["updated_at", "2016-04-03 15:16:15.705157"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.706722"], ["updated_at", "2016-04-03 15:16:15.706722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.708314"], ["updated_at", "2016-04-03 15:16:15.708314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:16:15.709847"], ["updated_at", "2016-04-03 15:16:15.709847"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:16:15.711395"], ["updated_at", "2016-04-03 15:16:15.711395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-03 15:16:15.757390"], ["updated_at", "2016-04-03 15:16:15.757390"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-03 15:16:15.759827"], ["updated_at", "2016-04-03 15:16:15.759827"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-03 15:16:15.761622"], ["updated_at", "2016-04-03 15:16:15.761622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-03 15:16:15.823282"], ["updated_at", "2016-04-03 15:16:15.823282"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 15:16:15.833223"], ["updated_at", "2016-04-03 15:16:15.833223"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 15:16:15.837190"], ["updated_at", "2016-04-03 15:16:15.837190"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-03 15:16:15.840618"], ["updated_at", "2016-04-03 15:16:15.840618"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 15:16:15.853733"], ["updated_at", "2016-04-03 15:16:15.853733"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 15:16:15.857779"], ["updated_at", "2016-04-03 15:16:15.857779"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-03 15:16:15.861278"], ["updated_at", "2016-04-03 15:16:15.861278"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 15:16:15.864480"], ["updated_at", "2016-04-03 15:16:15.864480"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 15:16:15.867734"], ["updated_at", "2016-04-03 15:16:15.867734"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 15:16:15.871569"], ["updated_at", "2016-04-03 15:16:15.871569"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-03 15:16:15.915062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-03 15:16:15.918070"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-03 15:16:15.920665"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-03 15:16:15.924019"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.160832"], ["updated_at", "2016-04-03 15:23:20.160832"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.165438"], ["updated_at", "2016-04-03 15:23:20.165438"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.167252"], ["updated_at", "2016-04-03 15:23:20.167252"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.168973"], ["updated_at", "2016-04-03 15:23:20.168973"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.170969"], ["updated_at", "2016-04-03 15:23:20.170969"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:23:20.172727"], ["updated_at", "2016-04-03 15:23:20.172727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.author AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.178118"], ["updated_at", "2016-04-03 15:23:20.178118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.180032"], ["updated_at", "2016-04-03 15:23:20.180032"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.181771"], ["updated_at", "2016-04-03 15:23:20.181771"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.183473"], ["updated_at", "2016-04-03 15:23:20.183473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.185088"], ["updated_at", "2016-04-03 15:23:20.185088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:23:20.186788"], ["updated_at", "2016-04-03 15:23:20.186788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.190605"], ["updated_at", "2016-04-03 15:23:20.190605"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.192438"], ["updated_at", "2016-04-03 15:23:20.192438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.194014"], ["updated_at", "2016-04-03 15:23:20.194014"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.195564"], ["updated_at", "2016-04-03 15:23:20.195564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.197405"], ["updated_at", "2016-04-03 15:23:20.197405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:23:20.199135"], ["updated_at", "2016-04-03 15:23:20.199135"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.202787"], ["updated_at", "2016-04-03 15:23:20.202787"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.204697"], ["updated_at", "2016-04-03 15:23:20.204697"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.206322"], ["updated_at", "2016-04-03 15:23:20.206322"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.207926"], ["updated_at", "2016-04-03 15:23:20.207926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.209436"], ["updated_at", "2016-04-03 15:23:20.209436"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:23:20.211059"], ["updated_at", "2016-04-03 15:23:20.211059"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.author AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.215323"], ["updated_at", "2016-04-03 15:23:20.215323"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.217171"], ["updated_at", "2016-04-03 15:23:20.217171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.218750"], ["updated_at", "2016-04-03 15:23:20.218750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.220338"], ["updated_at", "2016-04-03 15:23:20.220338"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.223134"], ["updated_at", "2016-04-03 15:23:20.223134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:23:20.224893"], ["updated_at", "2016-04-03 15:23:20.224893"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.author AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.228633"], ["updated_at", "2016-04-03 15:23:20.228633"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author", "Alice"], ["created_at", "2016-04-03 15:23:20.230403"], ["updated_at", "2016-04-03 15:23:20.230403"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.231966"], ["updated_at", "2016-04-03 15:23:20.231966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.233499"], ["updated_at", "2016-04-03 15:23:20.233499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author", "Bob"], ["created_at", "2016-04-03 15:23:20.235034"], ["updated_at", "2016-04-03 15:23:20.235034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author", "Chester"], ["created_at", "2016-04-03 15:23:20.236572"], ["updated_at", "2016-04-03 15:23:20.236572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.author AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-03 15:23:20.273453"], ["updated_at", "2016-04-03 15:23:20.273453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-03 15:23:20.275882"], ["updated_at", "2016-04-03 15:23:20.275882"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-03 15:23:20.277629"], ["updated_at", "2016-04-03 15:23:20.277629"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-03 15:23:20.296225"], ["updated_at", "2016-04-03 15:23:20.296225"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 15:23:20.301636"], ["updated_at", "2016-04-03 15:23:20.301636"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 15:23:20.303737"], ["updated_at", "2016-04-03 15:23:20.303737"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-03 15:23:20.305599"], ["updated_at", "2016-04-03 15:23:20.305599"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IS NULL OR posts.author IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 15:23:20.312282"], ["updated_at", "2016-04-03 15:23:20.312282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Alice"], ["created_at", "2016-04-03 15:23:20.313952"], ["updated_at", "2016-04-03 15:23:20.313952"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-03 15:23:20.315441"], ["updated_at", "2016-04-03 15:23:20.315441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 15:23:20.316923"], ["updated_at", "2016-04-03 15:23:20.316923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 15:23:20.318412"], ["updated_at", "2016-04-03 15:23:20.318412"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Bob"], ["created_at", "2016-04-03 15:23:20.319896"], ["updated_at", "2016-04-03 15:23:20.319896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-01 00:00:00.000000"], ["updated_at", "2016-04-03 15:23:20.342247"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Timmy"], ["created_at", "2016-01-12 00:00:00.000000"], ["updated_at", "2016-04-03 15:23:20.344095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-01-15 00:00:00.000000"], ["updated_at", "2016-04-03 15:23:20.345781"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author", "Tammy"], ["created_at", "2016-03-01 00:00:00.000000"], ["updated_at", "2016-04-03 15:23:20.347427"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 14:04:12.345910"], ["updated_at", "2016-04-04 14:04:12.345910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 14:04:12.351700"], ["updated_at", "2016-04-04 14:04:12.351700"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 14:04:12.353758"], ["updated_at", "2016-04-04 14:04:12.353758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 14:04:12.405704"], ["updated_at", "2016-04-04 14:04:12.405704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 14:04:42.852319"], ["updated_at", "2016-04-04 14:04:42.852319"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 14:04:42.855565"], ["updated_at", "2016-04-04 14:04:42.855565"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 14:04:42.857333"], ["updated_at", "2016-04-04 14:04:42.857333"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 14:04:42.870546"], ["updated_at", "2016-04-04 14:04:42.870546"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 14:05:33.933017"], ["updated_at", "2016-04-04 14:05:33.933017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 14:05:33.936169"], ["updated_at", "2016-04-04 14:05:33.936169"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 14:05:33.938222"], ["updated_at", "2016-04-04 14:05:33.938222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 14:05:33.951932"], ["updated_at", "2016-04-04 14:05:33.951932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 15:11:58.687277"], ["updated_at", "2016-04-04 15:11:58.687277"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 15:11:58.690167"], ["updated_at", "2016-04-04 15:11:58.690167"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 15:11:58.691907"], ["updated_at", "2016-04-04 15:11:58.691907"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 15:11:58.745200"], ["updated_at", "2016-04-04 15:11:58.745200"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 15:12:43.164611"], ["updated_at", "2016-04-04 15:12:43.164611"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 15:12:43.169315"], ["updated_at", "2016-04-04 15:12:43.169315"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 15:12:43.171983"], ["updated_at", "2016-04-04 15:12:43.171983"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 15:12:43.224863"], ["updated_at", "2016-04-04 15:12:43.224863"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (2.8ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "post_id" integer, "author" varchar, "likes" integer DEFAULT 0 NOT NULL)   (4.0ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "title" varchar, "author" varchar, "likes" integer DEFAULT 0 NOT NULL)  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (3.5ms) select sqlite_version(*)  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150714202319') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (3.8ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "name" varchar)   (8.0ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "post_id" integer, "author_id" integer, "likes" integer DEFAULT 0 NOT NULL)  (3.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "title" varchar, "author_id" integer, "likes" integer DEFAULT 0 NOT NULL)   (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (0.1ms) select sqlite_version(*)  (4.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150714202319') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:21:10.378095"], ["updated_at", "2016-04-04 15:21:10.378095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.384480"], ["updated_at", "2016-04-04 15:21:10.384480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.388243"], ["updated_at", "2016-04-04 15:21:10.388243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:21:10.392749"], ["updated_at", "2016-04-04 15:21:10.392749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.395167"], ["updated_at", "2016-04-04 15:21:10.395167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.397440"], ["updated_at", "2016-04-04 15:21:10.397440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.399638"], ["updated_at", "2016-04-04 15:21:10.399638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:21:10.402326"], ["updated_at", "2016-04-04 15:21:10.402326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:21:10.403512"], ["updated_at", "2016-04-04 15:21:10.403512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.8ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:21:10.416330"], ["updated_at", "2016-04-04 15:21:10.416330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.418546"], ["updated_at", "2016-04-04 15:21:10.418546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.424447"], ["updated_at", "2016-04-04 15:21:10.424447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:21:10.427756"], ["updated_at", "2016-04-04 15:21:10.427756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.429742"], ["updated_at", "2016-04-04 15:21:10.429742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.431697"], ["updated_at", "2016-04-04 15:21:10.431697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.433669"], ["updated_at", "2016-04-04 15:21:10.433669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:21:10.436634"], ["updated_at", "2016-04-04 15:21:10.436634"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:21:10.440716"], ["updated_at", "2016-04-04 15:21:10.440716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:21:10.475184"], ["updated_at", "2016-04-04 15:21:10.475184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.476998"], ["updated_at", "2016-04-04 15:21:10.476998"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.481407"], ["updated_at", "2016-04-04 15:21:10.481407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:21:10.484507"], ["updated_at", "2016-04-04 15:21:10.484507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.486420"], ["updated_at", "2016-04-04 15:21:10.486420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.490345"], ["updated_at", "2016-04-04 15:21:10.490345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.494680"], ["updated_at", "2016-04-04 15:21:10.494680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:21:10.497865"], ["updated_at", "2016-04-04 15:21:10.497865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:21:10.498927"], ["updated_at", "2016-04-04 15:21:10.498927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.0ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:21:10.506391"], ["updated_at", "2016-04-04 15:21:10.506391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.508486"], ["updated_at", "2016-04-04 15:21:10.508486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.511557"], ["updated_at", "2016-04-04 15:21:10.511557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:21:10.513971"], ["updated_at", "2016-04-04 15:21:10.513971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.514875"], ["updated_at", "2016-04-04 15:21:10.514875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.517766"], ["updated_at", "2016-04-04 15:21:10.517766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.522016"], ["updated_at", "2016-04-04 15:21:10.522016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:21:10.525281"], ["updated_at", "2016-04-04 15:21:10.525281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:21:10.526576"], ["updated_at", "2016-04-04 15:21:10.526576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:21:10.535612"], ["updated_at", "2016-04-04 15:21:10.535612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.537827"], ["updated_at", "2016-04-04 15:21:10.537827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.540094"], ["updated_at", "2016-04-04 15:21:10.540094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:21:10.545392"], ["updated_at", "2016-04-04 15:21:10.545392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.547001"], ["updated_at", "2016-04-04 15:21:10.547001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.549046"], ["updated_at", "2016-04-04 15:21:10.549046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.551675"], ["updated_at", "2016-04-04 15:21:10.551675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:21:10.554171"], ["updated_at", "2016-04-04 15:21:10.554171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:21:10.555708"], ["updated_at", "2016-04-04 15:21:10.555708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:21:10.563821"], ["updated_at", "2016-04-04 15:21:10.563821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.565156"], ["updated_at", "2016-04-04 15:21:10.565156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.6ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:21:10.569241"], ["updated_at", "2016-04-04 15:21:10.569241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:21:10.571889"], ["updated_at", "2016-04-04 15:21:10.571889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.573509"], ["updated_at", "2016-04-04 15:21:10.573509"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.576907"], ["updated_at", "2016-04-04 15:21:10.576907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:21:10.579894"], ["updated_at", "2016-04-04 15:21:10.579894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:21:10.582875"], ["updated_at", "2016-04-04 15:21:10.582875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:21:10.584304"], ["updated_at", "2016-04-04 15:21:10.584304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 15:21:10.636960"], ["updated_at", "2016-04-04 15:21:10.636960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 15:21:10.639204"], ["updated_at", "2016-04-04 15:21:10.639204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 15:21:10.641087"], ["updated_at", "2016-04-04 15:21:10.641087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 15:21:10.692441"], ["updated_at", "2016-04-04 15:21:10.692441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:21:10.704887"], ["updated_at", "2016-04-04 15:21:10.704887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:21:10.707511"], ["updated_at", "2016-04-04 15:21:10.707511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:21:10.709667"], ["updated_at", "2016-04-04 15:21:10.709667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:21:10.710684"], ["updated_at", "2016-04-04 15:21:10.710684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:21:10.711886"], ["updated_at", "2016-04-04 15:21:10.711886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice')) SQLite3::SQLException: no such column: posts.author: SELECT "posts".* FROM "posts" WHERE (posts.author IN ('Alice'))  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:21:10.719676"], ["updated_at", "2016-04-04 15:21:10.719676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:21:10.721351"], ["updated_at", "2016-04-04 15:21:10.721351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:21:10.723426"], ["updated_at", "2016-04-04 15:21:10.723426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:21:10.725750"], ["updated_at", "2016-04-04 15:21:10.725750"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:21:10.729273"], ["updated_at", "2016-04-04 15:21:10.729273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:21:10.733433"], ["updated_at", "2016-04-04 15:21:10.733433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:21:10.737788"], ["updated_at", "2016-04-04 15:21:10.737788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:21:10.739360"], ["updated_at", "2016-04-04 15:21:10.739360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  SQLite3::SQLException: no such column: posts.author: SELECT posts.author AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 15:21:10.820966"], ["updated_at", "2016-04-04 15:21:10.820966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:21:10.823217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:21:10.827956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 15:21:10.832969"], ["updated_at", "2016-04-04 15:21:10.832969"]]  (24.9ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:21:10.862581"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:21:10.869784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC SQLite3::SQLException: no such column: posts.author: SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.7ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (2.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:23:47.799448"], ["updated_at", "2016-04-04 15:23:47.799448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.804553"], ["updated_at", "2016-04-04 15:23:47.804553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.809291"], ["updated_at", "2016-04-04 15:23:47.809291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:23:47.812808"], ["updated_at", "2016-04-04 15:23:47.812808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.814804"], ["updated_at", "2016-04-04 15:23:47.814804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.816767"], ["updated_at", "2016-04-04 15:23:47.816767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.819540"], ["updated_at", "2016-04-04 15:23:47.819540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:23:47.821087"], ["updated_at", "2016-04-04 15:23:47.821087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:23:47.821980"], ["updated_at", "2016-04-04 15:23:47.821980"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:23:47.832026"], ["updated_at", "2016-04-04 15:23:47.832026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.833986"], ["updated_at", "2016-04-04 15:23:47.833986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.838461"], ["updated_at", "2016-04-04 15:23:47.838461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:23:47.841997"], ["updated_at", "2016-04-04 15:23:47.841997"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.843245"], ["updated_at", "2016-04-04 15:23:47.843245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.844865"], ["updated_at", "2016-04-04 15:23:47.844865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.846230"], ["updated_at", "2016-04-04 15:23:47.846230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:23:47.847578"], ["updated_at", "2016-04-04 15:23:47.847578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:23:47.848880"], ["updated_at", "2016-04-04 15:23:47.848880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:23:47.885725"], ["updated_at", "2016-04-04 15:23:47.885725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.888076"], ["updated_at", "2016-04-04 15:23:47.888076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.892228"], ["updated_at", "2016-04-04 15:23:47.892228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:23:47.894736"], ["updated_at", "2016-04-04 15:23:47.894736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.895747"], ["updated_at", "2016-04-04 15:23:47.895747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.897254"], ["updated_at", "2016-04-04 15:23:47.897254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.899041"], ["updated_at", "2016-04-04 15:23:47.899041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:23:47.902432"], ["updated_at", "2016-04-04 15:23:47.902432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:23:47.904250"], ["updated_at", "2016-04-04 15:23:47.904250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:23:47.911661"], ["updated_at", "2016-04-04 15:23:47.911661"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.913516"], ["updated_at", "2016-04-04 15:23:47.913516"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.916466"], ["updated_at", "2016-04-04 15:23:47.916466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:23:47.919796"], ["updated_at", "2016-04-04 15:23:47.919796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.920788"], ["updated_at", "2016-04-04 15:23:47.920788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.922439"], ["updated_at", "2016-04-04 15:23:47.922439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.923994"], ["updated_at", "2016-04-04 15:23:47.923994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:23:47.925430"], ["updated_at", "2016-04-04 15:23:47.925430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:23:47.926560"], ["updated_at", "2016-04-04 15:23:47.926560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:23:47.932921"], ["updated_at", "2016-04-04 15:23:47.932921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.934992"], ["updated_at", "2016-04-04 15:23:47.934992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.938802"], ["updated_at", "2016-04-04 15:23:47.938802"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:23:47.942786"], ["updated_at", "2016-04-04 15:23:47.942786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.944701"], ["updated_at", "2016-04-04 15:23:47.944701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.946904"], ["updated_at", "2016-04-04 15:23:47.946904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.951036"], ["updated_at", "2016-04-04 15:23:47.951036"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:23:47.954455"], ["updated_at", "2016-04-04 15:23:47.954455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:23:47.955492"], ["updated_at", "2016-04-04 15:23:47.955492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:23:47.961893"], ["updated_at", "2016-04-04 15:23:47.961893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.963199"], ["updated_at", "2016-04-04 15:23:47.963199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:23:47.966339"], ["updated_at", "2016-04-04 15:23:47.966339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:23:47.969746"], ["updated_at", "2016-04-04 15:23:47.969746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.971808"], ["updated_at", "2016-04-04 15:23:47.971808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.973797"], ["updated_at", "2016-04-04 15:23:47.973797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:23:47.975269"], ["updated_at", "2016-04-04 15:23:47.975269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:23:47.977330"], ["updated_at", "2016-04-04 15:23:47.977330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:23:47.978199"], ["updated_at", "2016-04-04 15:23:47.978199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 15:23:48.024082"], ["updated_at", "2016-04-04 15:23:48.024082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 15:23:48.026071"], ["updated_at", "2016-04-04 15:23:48.026071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 15:23:48.027608"], ["updated_at", "2016-04-04 15:23:48.027608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 15:23:48.084015"], ["updated_at", "2016-04-04 15:23:48.084015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (4.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:23:48.095345"], ["updated_at", "2016-04-04 15:23:48.095345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:23:48.096787"], ["updated_at", "2016-04-04 15:23:48.096787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:23:48.100106"], ["updated_at", "2016-04-04 15:23:48.100106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:23:48.101469"], ["updated_at", "2016-04-04 15:23:48.101469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:23:48.103102"], ["updated_at", "2016-04-04 15:23:48.103102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE (authors.name IN ('Alice')) SQLite3::SQLException: no such column: authors.name: SELECT "posts".* FROM "posts" WHERE (authors.name IN ('Alice'))  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:23:48.110392"], ["updated_at", "2016-04-04 15:23:48.110392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:23:48.111970"], ["updated_at", "2016-04-04 15:23:48.111970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:23:48.113959"], ["updated_at", "2016-04-04 15:23:48.113959"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:23:48.115443"], ["updated_at", "2016-04-04 15:23:48.115443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:23:48.118990"], ["updated_at", "2016-04-04 15:23:48.118990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:23:48.120922"], ["updated_at", "2016-04-04 15:23:48.120922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:23:48.122637"], ["updated_at", "2016-04-04 15:23:48.122637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:23:48.124551"], ["updated_at", "2016-04-04 15:23:48.124551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  SQLite3::SQLException: no such column: authors.name: SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 15:23:48.197692"], ["updated_at", "2016-04-04 15:23:48.197692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:23:48.199800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:23:48.202883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 15:23:48.205411"], ["updated_at", "2016-04-04 15:23:48.205411"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:23:48.207524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:23:48.210075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts"  (0.0ms) SELECT MAX(posts.created_at) FROM "posts"  (0.1ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC SQLite3::SQLException: no such column: posts.author: SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:24:55.323775"], ["updated_at", "2016-04-04 15:24:55.323775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.328382"], ["updated_at", "2016-04-04 15:24:55.328382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.333188"], ["updated_at", "2016-04-04 15:24:55.333188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:24:55.337195"], ["updated_at", "2016-04-04 15:24:55.337195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.338657"], ["updated_at", "2016-04-04 15:24:55.338657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.340425"], ["updated_at", "2016-04-04 15:24:55.340425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.341981"], ["updated_at", "2016-04-04 15:24:55.341981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:24:55.343830"], ["updated_at", "2016-04-04 15:24:55.343830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:24:55.344710"], ["updated_at", "2016-04-04 15:24:55.344710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:24:55.357244"], ["updated_at", "2016-04-04 15:24:55.357244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.358677"], ["updated_at", "2016-04-04 15:24:55.358677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.361805"], ["updated_at", "2016-04-04 15:24:55.361805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:24:55.367897"], ["updated_at", "2016-04-04 15:24:55.367897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.370260"], ["updated_at", "2016-04-04 15:24:55.370260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.372564"], ["updated_at", "2016-04-04 15:24:55.372564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.374117"], ["updated_at", "2016-04-04 15:24:55.374117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:24:55.375666"], ["updated_at", "2016-04-04 15:24:55.375666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:24:55.376583"], ["updated_at", "2016-04-04 15:24:55.376583"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:24:55.413626"], ["updated_at", "2016-04-04 15:24:55.413626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.414954"], ["updated_at", "2016-04-04 15:24:55.414954"]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.419799"], ["updated_at", "2016-04-04 15:24:55.419799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:24:55.422516"], ["updated_at", "2016-04-04 15:24:55.422516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.423541"], ["updated_at", "2016-04-04 15:24:55.423541"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.427573"], ["updated_at", "2016-04-04 15:24:55.427573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.429374"], ["updated_at", "2016-04-04 15:24:55.429374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:24:55.431360"], ["updated_at", "2016-04-04 15:24:55.431360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:24:55.432855"], ["updated_at", "2016-04-04 15:24:55.432855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:24:55.442020"], ["updated_at", "2016-04-04 15:24:55.442020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.443275"], ["updated_at", "2016-04-04 15:24:55.443275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.445348"], ["updated_at", "2016-04-04 15:24:55.445348"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:24:55.448279"], ["updated_at", "2016-04-04 15:24:55.448279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.449472"], ["updated_at", "2016-04-04 15:24:55.449472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.452223"], ["updated_at", "2016-04-04 15:24:55.452223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.454598"], ["updated_at", "2016-04-04 15:24:55.454598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:24:55.456867"], ["updated_at", "2016-04-04 15:24:55.456867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:24:55.458080"], ["updated_at", "2016-04-04 15:24:55.458080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:24:55.464919"], ["updated_at", "2016-04-04 15:24:55.464919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.466312"], ["updated_at", "2016-04-04 15:24:55.466312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.468995"], ["updated_at", "2016-04-04 15:24:55.468995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:24:55.470956"], ["updated_at", "2016-04-04 15:24:55.470956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.471992"], ["updated_at", "2016-04-04 15:24:55.471992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.473489"], ["updated_at", "2016-04-04 15:24:55.473489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.474898"], ["updated_at", "2016-04-04 15:24:55.474898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:24:55.477353"], ["updated_at", "2016-04-04 15:24:55.477353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:24:55.478287"], ["updated_at", "2016-04-04 15:24:55.478287"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:24:55.484448"], ["updated_at", "2016-04-04 15:24:55.484448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.486029"], ["updated_at", "2016-04-04 15:24:55.486029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:24:55.488845"], ["updated_at", "2016-04-04 15:24:55.488845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:24:55.490791"], ["updated_at", "2016-04-04 15:24:55.490791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.492541"], ["updated_at", "2016-04-04 15:24:55.492541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.494541"], ["updated_at", "2016-04-04 15:24:55.494541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:24:55.497093"], ["updated_at", "2016-04-04 15:24:55.497093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:24:55.501183"], ["updated_at", "2016-04-04 15:24:55.501183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:24:55.504262"], ["updated_at", "2016-04-04 15:24:55.504262"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 15:24:55.550003"], ["updated_at", "2016-04-04 15:24:55.550003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 15:24:55.553788"], ["updated_at", "2016-04-04 15:24:55.553788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 15:24:55.557202"], ["updated_at", "2016-04-04 15:24:55.557202"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.4ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 15:24:55.612156"], ["updated_at", "2016-04-04 15:24:55.612156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:24:55.621414"], ["updated_at", "2016-04-04 15:24:55.621414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:24:55.623538"], ["updated_at", "2016-04-04 15:24:55.623538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:24:55.626775"], ["updated_at", "2016-04-04 15:24:55.626775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:24:55.628577"], ["updated_at", "2016-04-04 15:24:55.628577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:24:55.629872"], ["updated_at", "2016-04-04 15:24:55.629872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" WHERE (authors.name IS NULL OR authors.name IN (NULL))  (2.6ms) rollback transaction  (0.3ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:24:55.688297"], ["updated_at", "2016-04-04 15:24:55.688297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:24:55.689852"], ["updated_at", "2016-04-04 15:24:55.689852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:24:55.693248"], ["updated_at", "2016-04-04 15:24:55.693248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:24:55.695792"], ["updated_at", "2016-04-04 15:24:55.695792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:24:55.697775"], ["updated_at", "2016-04-04 15:24:55.697775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:24:55.698832"], ["updated_at", "2016-04-04 15:24:55.698832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:24:55.702205"], ["updated_at", "2016-04-04 15:24:55.702205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:24:55.704752"], ["updated_at", "2016-04-04 15:24:55.704752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 15:24:55.729853"], ["updated_at", "2016-04-04 15:24:55.729853"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:24:55.731645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:24:55.734409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 15:24:55.738082"], ["updated_at", "2016-04-04 15:24:55.738082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:24:55.739025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:24:55.740864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  SQLite3::SQLException: no such column: posts.author: SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) 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) begin transaction Author Load (2.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:25:30.447856"], ["updated_at", "2016-04-04 15:25:30.447856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.452851"], ["updated_at", "2016-04-04 15:25:30.452851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.457664"], ["updated_at", "2016-04-04 15:25:30.457664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:25:30.461262"], ["updated_at", "2016-04-04 15:25:30.461262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.464188"], ["updated_at", "2016-04-04 15:25:30.464188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.466298"], ["updated_at", "2016-04-04 15:25:30.466298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.469727"], ["updated_at", "2016-04-04 15:25:30.469727"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:25:30.471880"], ["updated_at", "2016-04-04 15:25:30.471880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:25:30.472848"], ["updated_at", "2016-04-04 15:25:30.472848"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:25:30.483463"], ["updated_at", "2016-04-04 15:25:30.483463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.484987"], ["updated_at", "2016-04-04 15:25:30.484987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.489081"], ["updated_at", "2016-04-04 15:25:30.489081"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:25:30.492396"], ["updated_at", "2016-04-04 15:25:30.492396"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.493628"], ["updated_at", "2016-04-04 15:25:30.493628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.496696"], ["updated_at", "2016-04-04 15:25:30.496696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.499047"], ["updated_at", "2016-04-04 15:25:30.499047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:25:30.500669"], ["updated_at", "2016-04-04 15:25:30.500669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:25:30.501827"], ["updated_at", "2016-04-04 15:25:30.501827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:25:30.535945"], ["updated_at", "2016-04-04 15:25:30.535945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.537234"], ["updated_at", "2016-04-04 15:25:30.537234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.541365"], ["updated_at", "2016-04-04 15:25:30.541365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:25:30.543071"], ["updated_at", "2016-04-04 15:25:30.543071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.544830"], ["updated_at", "2016-04-04 15:25:30.544830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.546728"], ["updated_at", "2016-04-04 15:25:30.546728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.549406"], ["updated_at", "2016-04-04 15:25:30.549406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:25:30.553497"], ["updated_at", "2016-04-04 15:25:30.553497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:25:30.554505"], ["updated_at", "2016-04-04 15:25:30.554505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:25:30.561169"], ["updated_at", "2016-04-04 15:25:30.561169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.562688"], ["updated_at", "2016-04-04 15:25:30.562688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.566329"], ["updated_at", "2016-04-04 15:25:30.566329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:25:30.571091"], ["updated_at", "2016-04-04 15:25:30.571091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.573747"], ["updated_at", "2016-04-04 15:25:30.573747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.576064"], ["updated_at", "2016-04-04 15:25:30.576064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.578133"], ["updated_at", "2016-04-04 15:25:30.578133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:25:30.580165"], ["updated_at", "2016-04-04 15:25:30.580165"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:25:30.582532"], ["updated_at", "2016-04-04 15:25:30.582532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:25:30.589525"], ["updated_at", "2016-04-04 15:25:30.589525"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.592767"], ["updated_at", "2016-04-04 15:25:30.592767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.595387"], ["updated_at", "2016-04-04 15:25:30.595387"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:25:30.597570"], ["updated_at", "2016-04-04 15:25:30.597570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.598482"], ["updated_at", "2016-04-04 15:25:30.598482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.599950"], ["updated_at", "2016-04-04 15:25:30.599950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.602319"], ["updated_at", "2016-04-04 15:25:30.602319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:25:30.604233"], ["updated_at", "2016-04-04 15:25:30.604233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:25:30.605086"], ["updated_at", "2016-04-04 15:25:30.605086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.2ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:25:30.611715"], ["updated_at", "2016-04-04 15:25:30.611715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.613046"], ["updated_at", "2016-04-04 15:25:30.613046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:25:30.617675"], ["updated_at", "2016-04-04 15:25:30.617675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:25:30.620269"], ["updated_at", "2016-04-04 15:25:30.620269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.621353"], ["updated_at", "2016-04-04 15:25:30.621353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.622969"], ["updated_at", "2016-04-04 15:25:30.622969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:25:30.626066"], ["updated_at", "2016-04-04 15:25:30.626066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:25:30.629161"], ["updated_at", "2016-04-04 15:25:30.629161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:25:30.630925"], ["updated_at", "2016-04-04 15:25:30.630925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 15:25:30.666522"], ["updated_at", "2016-04-04 15:25:30.666522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 15:25:30.669116"], ["updated_at", "2016-04-04 15:25:30.669116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 15:25:30.670502"], ["updated_at", "2016-04-04 15:25:30.670502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 15:25:30.729953"], ["updated_at", "2016-04-04 15:25:30.729953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:25:30.740533"], ["updated_at", "2016-04-04 15:25:30.740533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:25:30.743380"], ["updated_at", "2016-04-04 15:25:30.743380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:25:30.745748"], ["updated_at", "2016-04-04 15:25:30.745748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:25:30.746852"], ["updated_at", "2016-04-04 15:25:30.746852"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:25:30.748720"], ["updated_at", "2016-04-04 15:25:30.748720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:25:30.759413"], ["updated_at", "2016-04-04 15:25:30.759413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:25:30.761161"], ["updated_at", "2016-04-04 15:25:30.761161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:25:30.763395"], ["updated_at", "2016-04-04 15:25:30.763395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:25:30.767072"], ["updated_at", "2016-04-04 15:25:30.767072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:25:30.770937"], ["updated_at", "2016-04-04 15:25:30.770937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:25:30.771976"], ["updated_at", "2016-04-04 15:25:30.771976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:25:30.773602"], ["updated_at", "2016-04-04 15:25:30.773602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:25:30.775786"], ["updated_at", "2016-04-04 15:25:30.775786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 15:25:30.850052"], ["updated_at", "2016-04-04 15:25:30.850052"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:25:30.852426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:25:30.855146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 15:25:30.858405"], ["updated_at", "2016-04-04 15:25:30.858405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:25:30.860582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:25:30.863437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC SQLite3::SQLException: no such column: posts.author: SELECT posts.author AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.6ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) 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) begin transaction Author Load (2.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:18.722126"], ["updated_at", "2016-04-04 15:26:18.722126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.726923"], ["updated_at", "2016-04-04 15:26:18.726923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.733671"], ["updated_at", "2016-04-04 15:26:18.733671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:18.736981"], ["updated_at", "2016-04-04 15:26:18.736981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.738206"], ["updated_at", "2016-04-04 15:26:18.738206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.739647"], ["updated_at", "2016-04-04 15:26:18.739647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.740954"], ["updated_at", "2016-04-04 15:26:18.740954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:18.742723"], ["updated_at", "2016-04-04 15:26:18.742723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:18.744331"], ["updated_at", "2016-04-04 15:26:18.744331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.3ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:18.756053"], ["updated_at", "2016-04-04 15:26:18.756053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.757393"], ["updated_at", "2016-04-04 15:26:18.757393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.763361"], ["updated_at", "2016-04-04 15:26:18.763361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:18.765257"], ["updated_at", "2016-04-04 15:26:18.765257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.766205"], ["updated_at", "2016-04-04 15:26:18.766205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.768568"], ["updated_at", "2016-04-04 15:26:18.768568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.770593"], ["updated_at", "2016-04-04 15:26:18.770593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:18.772248"], ["updated_at", "2016-04-04 15:26:18.772248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:18.773105"], ["updated_at", "2016-04-04 15:26:18.773105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (4.3ms) rollback transaction  (0.5ms) begin transaction Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:18.813540"], ["updated_at", "2016-04-04 15:26:18.813540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.814948"], ["updated_at", "2016-04-04 15:26:18.814948"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.819978"], ["updated_at", "2016-04-04 15:26:18.819978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:18.822532"], ["updated_at", "2016-04-04 15:26:18.822532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.823441"], ["updated_at", "2016-04-04 15:26:18.823441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.825448"], ["updated_at", "2016-04-04 15:26:18.825448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.828688"], ["updated_at", "2016-04-04 15:26:18.828688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:18.830907"], ["updated_at", "2016-04-04 15:26:18.830907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:18.831879"], ["updated_at", "2016-04-04 15:26:18.831879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:18.838314"], ["updated_at", "2016-04-04 15:26:18.838314"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.840282"], ["updated_at", "2016-04-04 15:26:18.840282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.843022"], ["updated_at", "2016-04-04 15:26:18.843022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:18.845454"], ["updated_at", "2016-04-04 15:26:18.845454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.846551"], ["updated_at", "2016-04-04 15:26:18.846551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.848595"], ["updated_at", "2016-04-04 15:26:18.848595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.850676"], ["updated_at", "2016-04-04 15:26:18.850676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:18.853125"], ["updated_at", "2016-04-04 15:26:18.853125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:18.855098"], ["updated_at", "2016-04-04 15:26:18.855098"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:18.863327"], ["updated_at", "2016-04-04 15:26:18.863327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.866426"], ["updated_at", "2016-04-04 15:26:18.866426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.870209"], ["updated_at", "2016-04-04 15:26:18.870209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:18.872286"], ["updated_at", "2016-04-04 15:26:18.872286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.873302"], ["updated_at", "2016-04-04 15:26:18.873302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.874709"], ["updated_at", "2016-04-04 15:26:18.874709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.876037"], ["updated_at", "2016-04-04 15:26:18.876037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:18.878725"], ["updated_at", "2016-04-04 15:26:18.878725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:18.881376"], ["updated_at", "2016-04-04 15:26:18.881376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:18.889060"], ["updated_at", "2016-04-04 15:26:18.889060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.890323"], ["updated_at", "2016-04-04 15:26:18.890323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:18.892886"], ["updated_at", "2016-04-04 15:26:18.892886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:18.895954"], ["updated_at", "2016-04-04 15:26:18.895954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.897085"], ["updated_at", "2016-04-04 15:26:18.897085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.898569"], ["updated_at", "2016-04-04 15:26:18.898569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:18.900317"], ["updated_at", "2016-04-04 15:26:18.900317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:18.903416"], ["updated_at", "2016-04-04 15:26:18.903416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:18.904507"], ["updated_at", "2016-04-04 15:26:18.904507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 15:26:18.943679"], ["updated_at", "2016-04-04 15:26:18.943679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 15:26:18.946032"], ["updated_at", "2016-04-04 15:26:18.946032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 15:26:18.947528"], ["updated_at", "2016-04-04 15:26:18.947528"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 15:26:19.005722"], ["updated_at", "2016-04-04 15:26:19.005722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (5.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:19.017110"], ["updated_at", "2016-04-04 15:26:19.017110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:26:19.019587"], ["updated_at", "2016-04-04 15:26:19.019587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:19.022137"], ["updated_at", "2016-04-04 15:26:19.022137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:26:19.023188"], ["updated_at", "2016-04-04 15:26:19.023188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:26:19.024275"], ["updated_at", "2016-04-04 15:26:19.024275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:19.033753"], ["updated_at", "2016-04-04 15:26:19.033753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:26:19.036044"], ["updated_at", "2016-04-04 15:26:19.036044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:26:19.038357"], ["updated_at", "2016-04-04 15:26:19.038357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:26:19.040091"], ["updated_at", "2016-04-04 15:26:19.040091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:19.042159"], ["updated_at", "2016-04-04 15:26:19.042159"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:26:19.043458"], ["updated_at", "2016-04-04 15:26:19.043458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:26:19.045324"], ["updated_at", "2016-04-04 15:26:19.045324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:26:19.046793"], ["updated_at", "2016-04-04 15:26:19.046793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 15:26:19.119756"], ["updated_at", "2016-04-04 15:26:19.119756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:26:19.121518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 15:26:19.123742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 15:26:19.126502"], ["updated_at", "2016-04-04 15:26:19.126502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:26:19.128047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 15:26:19.131519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.5ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (5.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:56.406720"], ["updated_at", "2016-04-04 15:26:56.406720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (5.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.414394"], ["updated_at", "2016-04-04 15:26:56.414394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.425338"], ["updated_at", "2016-04-04 15:26:56.425338"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:56.427659"], ["updated_at", "2016-04-04 15:26:56.427659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.429245"], ["updated_at", "2016-04-04 15:26:56.429245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.432706"], ["updated_at", "2016-04-04 15:26:56.432706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.434508"], ["updated_at", "2016-04-04 15:26:56.434508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:56.436951"], ["updated_at", "2016-04-04 15:26:56.436951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:56.438013"], ["updated_at", "2016-04-04 15:26:56.438013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:56.447629"], ["updated_at", "2016-04-04 15:26:56.447629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.448945"], ["updated_at", "2016-04-04 15:26:56.448945"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.453892"], ["updated_at", "2016-04-04 15:26:56.453892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:56.456954"], ["updated_at", "2016-04-04 15:26:56.456954"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.458804"], ["updated_at", "2016-04-04 15:26:56.458804"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.461559"], ["updated_at", "2016-04-04 15:26:56.461559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.463187"], ["updated_at", "2016-04-04 15:26:56.463187"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:56.464768"], ["updated_at", "2016-04-04 15:26:56.464768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:56.465611"], ["updated_at", "2016-04-04 15:26:56.465611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:56.502417"], ["updated_at", "2016-04-04 15:26:56.502417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.503809"], ["updated_at", "2016-04-04 15:26:56.503809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.509348"], ["updated_at", "2016-04-04 15:26:56.509348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:56.511322"], ["updated_at", "2016-04-04 15:26:56.511322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.512257"], ["updated_at", "2016-04-04 15:26:56.512257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.514239"], ["updated_at", "2016-04-04 15:26:56.514239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.515920"], ["updated_at", "2016-04-04 15:26:56.515920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:56.518169"], ["updated_at", "2016-04-04 15:26:56.518169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:56.519562"], ["updated_at", "2016-04-04 15:26:56.519562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (5.8ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:56.530047"], ["updated_at", "2016-04-04 15:26:56.530047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.531494"], ["updated_at", "2016-04-04 15:26:56.531494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.533974"], ["updated_at", "2016-04-04 15:26:56.533974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:56.536707"], ["updated_at", "2016-04-04 15:26:56.536707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.538147"], ["updated_at", "2016-04-04 15:26:56.538147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.541121"], ["updated_at", "2016-04-04 15:26:56.541121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.543424"], ["updated_at", "2016-04-04 15:26:56.543424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:56.545441"], ["updated_at", "2016-04-04 15:26:56.545441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:56.546594"], ["updated_at", "2016-04-04 15:26:56.546594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (4.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:56.555681"], ["updated_at", "2016-04-04 15:26:56.555681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.557097"], ["updated_at", "2016-04-04 15:26:56.557097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.560137"], ["updated_at", "2016-04-04 15:26:56.560137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:56.562335"], ["updated_at", "2016-04-04 15:26:56.562335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.563800"], ["updated_at", "2016-04-04 15:26:56.563800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.565502"], ["updated_at", "2016-04-04 15:26:56.565502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.568282"], ["updated_at", "2016-04-04 15:26:56.568282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:56.571063"], ["updated_at", "2016-04-04 15:26:56.571063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:56.572320"], ["updated_at", "2016-04-04 15:26:56.572320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:56.578783"], ["updated_at", "2016-04-04 15:26:56.578783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.581193"], ["updated_at", "2016-04-04 15:26:56.581193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 15:26:56.583156"], ["updated_at", "2016-04-04 15:26:56.583156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:56.584713"], ["updated_at", "2016-04-04 15:26:56.584713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.586978"], ["updated_at", "2016-04-04 15:26:56.586978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.589167"], ["updated_at", "2016-04-04 15:26:56.589167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 15:26:56.590631"], ["updated_at", "2016-04-04 15:26:56.590631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 15:26:56.593166"], ["updated_at", "2016-04-04 15:26:56.593166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 15:26:56.594710"], ["updated_at", "2016-04-04 15:26:56.594710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 15:26:56.639413"], ["updated_at", "2016-04-04 15:26:56.639413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 15:26:56.641734"], ["updated_at", "2016-04-04 15:26:56.641734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 15:26:56.644549"], ["updated_at", "2016-04-04 15:26:56.644549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 15:26:56.701014"], ["updated_at", "2016-04-04 15:26:56.701014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:56.711232"], ["updated_at", "2016-04-04 15:26:56.711232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:26:56.713873"], ["updated_at", "2016-04-04 15:26:56.713873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:56.716126"], ["updated_at", "2016-04-04 15:26:56.716126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:26:56.717374"], ["updated_at", "2016-04-04 15:26:56.717374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:26:56.718753"], ["updated_at", "2016-04-04 15:26:56.718753"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 15:26:56.729515"], ["updated_at", "2016-04-04 15:26:56.729515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:26:56.731632"], ["updated_at", "2016-04-04 15:26:56.731632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 15:26:56.733750"], ["updated_at", "2016-04-04 15:26:56.733750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 15:26:56.735295"], ["updated_at", "2016-04-04 15:26:56.735295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 15:26:56.737729"], ["updated_at", "2016-04-04 15:26:56.737729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:26:56.738883"], ["updated_at", "2016-04-04 15:26:56.738883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:26:56.740747"], ["updated_at", "2016-04-04 15:26:56.740747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 15:26:56.742708"], ["updated_at", "2016-04-04 15:26:56.742708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) begin transaction Author Load (2.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 16:53:42.996647"], ["updated_at", "2016-04-04 16:53:42.996647"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.003424"], ["updated_at", "2016-04-04 16:53:43.003424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.011752"], ["updated_at", "2016-04-04 16:53:43.011752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 16:53:43.014994"], ["updated_at", "2016-04-04 16:53:43.014994"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.017449"], ["updated_at", "2016-04-04 16:53:43.017449"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.021504"], ["updated_at", "2016-04-04 16:53:43.021504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.023548"], ["updated_at", "2016-04-04 16:53:43.023548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 16:53:43.024989"], ["updated_at", "2016-04-04 16:53:43.024989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 16:53:43.025824"], ["updated_at", "2016-04-04 16:53:43.025824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 16:53:43.037250"], ["updated_at", "2016-04-04 16:53:43.037250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.038726"], ["updated_at", "2016-04-04 16:53:43.038726"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.042282"], ["updated_at", "2016-04-04 16:53:43.042282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 16:53:43.044698"], ["updated_at", "2016-04-04 16:53:43.044698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.045648"], ["updated_at", "2016-04-04 16:53:43.045648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.047573"], ["updated_at", "2016-04-04 16:53:43.047573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.049690"], ["updated_at", "2016-04-04 16:53:43.049690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 16:53:43.052250"], ["updated_at", "2016-04-04 16:53:43.052250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 16:53:43.054116"], ["updated_at", "2016-04-04 16:53:43.054116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.3ms) rollback transaction  (0.2ms) begin transaction Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 16:53:43.095983"], ["updated_at", "2016-04-04 16:53:43.095983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.099336"], ["updated_at", "2016-04-04 16:53:43.099336"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.104276"], ["updated_at", "2016-04-04 16:53:43.104276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 16:53:43.107465"], ["updated_at", "2016-04-04 16:53:43.107465"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.108408"], ["updated_at", "2016-04-04 16:53:43.108408"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.109820"], ["updated_at", "2016-04-04 16:53:43.109820"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.111118"], ["updated_at", "2016-04-04 16:53:43.111118"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 16:53:43.112882"], ["updated_at", "2016-04-04 16:53:43.112882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 16:53:43.113750"], ["updated_at", "2016-04-04 16:53:43.113750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 16:53:43.121741"], ["updated_at", "2016-04-04 16:53:43.121741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.123027"], ["updated_at", "2016-04-04 16:53:43.123027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.124925"], ["updated_at", "2016-04-04 16:53:43.124925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 16:53:43.126370"], ["updated_at", "2016-04-04 16:53:43.126370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.127833"], ["updated_at", "2016-04-04 16:53:43.127833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.130953"], ["updated_at", "2016-04-04 16:53:43.130953"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.134964"], ["updated_at", "2016-04-04 16:53:43.134964"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 16:53:43.138805"], ["updated_at", "2016-04-04 16:53:43.138805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 16:53:43.139881"], ["updated_at", "2016-04-04 16:53:43.139881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 16:53:43.146147"], ["updated_at", "2016-04-04 16:53:43.146147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.147724"], ["updated_at", "2016-04-04 16:53:43.147724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.150368"], ["updated_at", "2016-04-04 16:53:43.150368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 16:53:43.152232"], ["updated_at", "2016-04-04 16:53:43.152232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.153474"], ["updated_at", "2016-04-04 16:53:43.153474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.155436"], ["updated_at", "2016-04-04 16:53:43.155436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.157708"], ["updated_at", "2016-04-04 16:53:43.157708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 16:53:43.160906"], ["updated_at", "2016-04-04 16:53:43.160906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 16:53:43.162450"], ["updated_at", "2016-04-04 16:53:43.162450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 16:53:43.169690"], ["updated_at", "2016-04-04 16:53:43.169690"]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.172907"], ["updated_at", "2016-04-04 16:53:43.172907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 16:53:43.175304"], ["updated_at", "2016-04-04 16:53:43.175304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 16:53:43.177510"], ["updated_at", "2016-04-04 16:53:43.177510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.179828"], ["updated_at", "2016-04-04 16:53:43.179828"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.182674"], ["updated_at", "2016-04-04 16:53:43.182674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 16:53:43.186160"], ["updated_at", "2016-04-04 16:53:43.186160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 16:53:43.188527"], ["updated_at", "2016-04-04 16:53:43.188527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 16:53:43.189805"], ["updated_at", "2016-04-04 16:53:43.189805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 16:53:43.227998"], ["updated_at", "2016-04-04 16:53:43.227998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 16:53:43.230590"], ["updated_at", "2016-04-04 16:53:43.230590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 16:53:43.232422"], ["updated_at", "2016-04-04 16:53:43.232422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 16:53:43.287946"], ["updated_at", "2016-04-04 16:53:43.287946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 16:53:43.296221"], ["updated_at", "2016-04-04 16:53:43.296221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 16:53:43.298146"], ["updated_at", "2016-04-04 16:53:43.298146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 16:53:43.301953"], ["updated_at", "2016-04-04 16:53:43.301953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 16:53:43.303133"], ["updated_at", "2016-04-04 16:53:43.303133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 16:53:43.304665"], ["updated_at", "2016-04-04 16:53:43.304665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 16:53:43.315386"], ["updated_at", "2016-04-04 16:53:43.315386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 16:53:43.317444"], ["updated_at", "2016-04-04 16:53:43.317444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 16:53:43.321151"], ["updated_at", "2016-04-04 16:53:43.321151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 16:53:43.324635"], ["updated_at", "2016-04-04 16:53:43.324635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 16:53:43.326984"], ["updated_at", "2016-04-04 16:53:43.326984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 16:53:43.328045"], ["updated_at", "2016-04-04 16:53:43.328045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 16:53:43.329447"], ["updated_at", "2016-04-04 16:53:43.329447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 16:53:43.331087"], ["updated_at", "2016-04-04 16:53:43.331087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 16:53:43.405161"], ["updated_at", "2016-04-04 16:53:43.405161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 16:53:43.408308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 16:53:43.412443"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 16:53:43.415990"], ["updated_at", "2016-04-04 16:53:43.415990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 16:53:43.418289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 16:53:43.421234"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (5.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (3.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:29.038308"], ["updated_at", "2016-04-04 17:09:29.038308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.043203"], ["updated_at", "2016-04-04 17:09:29.043203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.051976"], ["updated_at", "2016-04-04 17:09:29.051976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:29.055079"], ["updated_at", "2016-04-04 17:09:29.055079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.055992"], ["updated_at", "2016-04-04 17:09:29.055992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.057785"], ["updated_at", "2016-04-04 17:09:29.057785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.059562"], ["updated_at", "2016-04-04 17:09:29.059562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:29.060966"], ["updated_at", "2016-04-04 17:09:29.060966"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:29.062139"], ["updated_at", "2016-04-04 17:09:29.062139"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:29.073752"], ["updated_at", "2016-04-04 17:09:29.073752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.076026"], ["updated_at", "2016-04-04 17:09:29.076026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.079002"], ["updated_at", "2016-04-04 17:09:29.079002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:29.081560"], ["updated_at", "2016-04-04 17:09:29.081560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.084149"], ["updated_at", "2016-04-04 17:09:29.084149"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.087708"], ["updated_at", "2016-04-04 17:09:29.087708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.090104"], ["updated_at", "2016-04-04 17:09:29.090104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:29.091816"], ["updated_at", "2016-04-04 17:09:29.091816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:29.092809"], ["updated_at", "2016-04-04 17:09:29.092809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.5ms) rollback transaction  (0.2ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:29.134572"], ["updated_at", "2016-04-04 17:09:29.134572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.136388"], ["updated_at", "2016-04-04 17:09:29.136388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.139993"], ["updated_at", "2016-04-04 17:09:29.139993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:29.142803"], ["updated_at", "2016-04-04 17:09:29.142803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.143824"], ["updated_at", "2016-04-04 17:09:29.143824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.145809"], ["updated_at", "2016-04-04 17:09:29.145809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.149961"], ["updated_at", "2016-04-04 17:09:29.149961"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:29.152656"], ["updated_at", "2016-04-04 17:09:29.152656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:29.153851"], ["updated_at", "2016-04-04 17:09:29.153851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:29.160730"], ["updated_at", "2016-04-04 17:09:29.160730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.162054"], ["updated_at", "2016-04-04 17:09:29.162054"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.166062"], ["updated_at", "2016-04-04 17:09:29.166062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:29.168850"], ["updated_at", "2016-04-04 17:09:29.168850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.170207"], ["updated_at", "2016-04-04 17:09:29.170207"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.172386"], ["updated_at", "2016-04-04 17:09:29.172386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.173770"], ["updated_at", "2016-04-04 17:09:29.173770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:29.175335"], ["updated_at", "2016-04-04 17:09:29.175335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:29.176552"], ["updated_at", "2016-04-04 17:09:29.176552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:29.184685"], ["updated_at", "2016-04-04 17:09:29.184685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.188074"], ["updated_at", "2016-04-04 17:09:29.188074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.191348"], ["updated_at", "2016-04-04 17:09:29.191348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:29.193256"], ["updated_at", "2016-04-04 17:09:29.193256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.194305"], ["updated_at", "2016-04-04 17:09:29.194305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.196313"], ["updated_at", "2016-04-04 17:09:29.196313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.198121"], ["updated_at", "2016-04-04 17:09:29.198121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:29.201377"], ["updated_at", "2016-04-04 17:09:29.201377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:29.202406"], ["updated_at", "2016-04-04 17:09:29.202406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:29.209091"], ["updated_at", "2016-04-04 17:09:29.209091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.210863"], ["updated_at", "2016-04-04 17:09:29.210863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:29.212884"], ["updated_at", "2016-04-04 17:09:29.212884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:29.217494"], ["updated_at", "2016-04-04 17:09:29.217494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.219177"], ["updated_at", "2016-04-04 17:09:29.219177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.221572"], ["updated_at", "2016-04-04 17:09:29.221572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:29.223152"], ["updated_at", "2016-04-04 17:09:29.223152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:29.224527"], ["updated_at", "2016-04-04 17:09:29.224527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:29.225332"], ["updated_at", "2016-04-04 17:09:29.225332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:09:29.270480"], ["updated_at", "2016-04-04 17:09:29.270480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:09:29.272420"], ["updated_at", "2016-04-04 17:09:29.272420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:09:29.274001"], ["updated_at", "2016-04-04 17:09:29.274001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (5.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:09:29.341986"], ["updated_at", "2016-04-04 17:09:29.341986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:29.350346"], ["updated_at", "2016-04-04 17:09:29.350346"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:29.352401"], ["updated_at", "2016-04-04 17:09:29.352401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:29.355714"], ["updated_at", "2016-04-04 17:09:29.355714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:29.356807"], ["updated_at", "2016-04-04 17:09:29.356807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:09:29.357964"], ["updated_at", "2016-04-04 17:09:29.357964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:29.368084"], ["updated_at", "2016-04-04 17:09:29.368084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:29.369771"], ["updated_at", "2016-04-04 17:09:29.369771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:29.372461"], ["updated_at", "2016-04-04 17:09:29.372461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:09:29.373561"], ["updated_at", "2016-04-04 17:09:29.373561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:29.374844"], ["updated_at", "2016-04-04 17:09:29.374844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:29.376566"], ["updated_at", "2016-04-04 17:09:29.376566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:29.378616"], ["updated_at", "2016-04-04 17:09:29.378616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:29.380212"], ["updated_at", "2016-04-04 17:09:29.380212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:09:29.457689"], ["updated_at", "2016-04-04 17:09:29.457689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:09:29.459181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:09:29.462091"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:09:29.465125"], ["updated_at", "2016-04-04 17:09:29.465125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:09:29.467145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:09:29.470057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:36.170687"], ["updated_at", "2016-04-04 17:09:36.170687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.175373"], ["updated_at", "2016-04-04 17:09:36.175373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.180247"], ["updated_at", "2016-04-04 17:09:36.180247"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:36.184767"], ["updated_at", "2016-04-04 17:09:36.184767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.185840"], ["updated_at", "2016-04-04 17:09:36.185840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.187977"], ["updated_at", "2016-04-04 17:09:36.187977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.190243"], ["updated_at", "2016-04-04 17:09:36.190243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:36.191845"], ["updated_at", "2016-04-04 17:09:36.191845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:36.192910"], ["updated_at", "2016-04-04 17:09:36.192910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:36.203423"], ["updated_at", "2016-04-04 17:09:36.203423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.205310"], ["updated_at", "2016-04-04 17:09:36.205310"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.208857"], ["updated_at", "2016-04-04 17:09:36.208857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:36.213244"], ["updated_at", "2016-04-04 17:09:36.213244"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.215311"], ["updated_at", "2016-04-04 17:09:36.215311"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.218813"], ["updated_at", "2016-04-04 17:09:36.218813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.221141"], ["updated_at", "2016-04-04 17:09:36.221141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:36.223023"], ["updated_at", "2016-04-04 17:09:36.223023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:36.223866"], ["updated_at", "2016-04-04 17:09:36.223866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:36.263628"], ["updated_at", "2016-04-04 17:09:36.263628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.266375"], ["updated_at", "2016-04-04 17:09:36.266375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.271706"], ["updated_at", "2016-04-04 17:09:36.271706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:36.274877"], ["updated_at", "2016-04-04 17:09:36.274877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.276843"], ["updated_at", "2016-04-04 17:09:36.276843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.279816"], ["updated_at", "2016-04-04 17:09:36.279816"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.283218"], ["updated_at", "2016-04-04 17:09:36.283218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:36.286253"], ["updated_at", "2016-04-04 17:09:36.286253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:36.287274"], ["updated_at", "2016-04-04 17:09:36.287274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:36.293609"], ["updated_at", "2016-04-04 17:09:36.293609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.294940"], ["updated_at", "2016-04-04 17:09:36.294940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.298778"], ["updated_at", "2016-04-04 17:09:36.298778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:36.303580"], ["updated_at", "2016-04-04 17:09:36.303580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.304949"], ["updated_at", "2016-04-04 17:09:36.304949"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.307106"], ["updated_at", "2016-04-04 17:09:36.307106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.309675"], ["updated_at", "2016-04-04 17:09:36.309675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:36.311500"], ["updated_at", "2016-04-04 17:09:36.311500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:36.312979"], ["updated_at", "2016-04-04 17:09:36.312979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:36.321414"], ["updated_at", "2016-04-04 17:09:36.321414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.322725"], ["updated_at", "2016-04-04 17:09:36.322725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.327145"], ["updated_at", "2016-04-04 17:09:36.327145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:36.330116"], ["updated_at", "2016-04-04 17:09:36.330116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.331250"], ["updated_at", "2016-04-04 17:09:36.331250"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.334737"], ["updated_at", "2016-04-04 17:09:36.334737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.336759"], ["updated_at", "2016-04-04 17:09:36.336759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:36.338511"], ["updated_at", "2016-04-04 17:09:36.338511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:36.339410"], ["updated_at", "2016-04-04 17:09:36.339410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:36.346113"], ["updated_at", "2016-04-04 17:09:36.346113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.347430"], ["updated_at", "2016-04-04 17:09:36.347430"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:36.350736"], ["updated_at", "2016-04-04 17:09:36.350736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:36.353225"], ["updated_at", "2016-04-04 17:09:36.353225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.355638"], ["updated_at", "2016-04-04 17:09:36.355638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.357787"], ["updated_at", "2016-04-04 17:09:36.357787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:36.359256"], ["updated_at", "2016-04-04 17:09:36.359256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:36.360643"], ["updated_at", "2016-04-04 17:09:36.360643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:36.361615"], ["updated_at", "2016-04-04 17:09:36.361615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (7.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:09:36.404206"], ["updated_at", "2016-04-04 17:09:36.404206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:09:36.405729"], ["updated_at", "2016-04-04 17:09:36.405729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:09:36.407429"], ["updated_at", "2016-04-04 17:09:36.407429"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:09:36.463167"], ["updated_at", "2016-04-04 17:09:36.463167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:36.472680"], ["updated_at", "2016-04-04 17:09:36.472680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:36.475391"], ["updated_at", "2016-04-04 17:09:36.475391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:36.478562"], ["updated_at", "2016-04-04 17:09:36.478562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:36.479847"], ["updated_at", "2016-04-04 17:09:36.479847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:09:36.481380"], ["updated_at", "2016-04-04 17:09:36.481380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:36.493845"], ["updated_at", "2016-04-04 17:09:36.493845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:36.496314"], ["updated_at", "2016-04-04 17:09:36.496314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:36.502130"], ["updated_at", "2016-04-04 17:09:36.502130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:09:36.503554"], ["updated_at", "2016-04-04 17:09:36.503554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:36.505071"], ["updated_at", "2016-04-04 17:09:36.505071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:36.505968"], ["updated_at", "2016-04-04 17:09:36.505968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:36.508033"], ["updated_at", "2016-04-04 17:09:36.508033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:36.510235"], ["updated_at", "2016-04-04 17:09:36.510235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:09:36.587773"], ["updated_at", "2016-04-04 17:09:36.587773"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:09:36.589155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:09:36.591608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:09:36.594189"], ["updated_at", "2016-04-04 17:09:36.594189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:09:36.595317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:09:36.599160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:41.492624"], ["updated_at", "2016-04-04 17:09:41.492624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.494379"], ["updated_at", "2016-04-04 17:09:41.494379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.497144"], ["updated_at", "2016-04-04 17:09:41.497144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:41.499446"], ["updated_at", "2016-04-04 17:09:41.499446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.501763"], ["updated_at", "2016-04-04 17:09:41.501763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.505124"], ["updated_at", "2016-04-04 17:09:41.505124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.506701"], ["updated_at", "2016-04-04 17:09:41.506701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:41.508092"], ["updated_at", "2016-04-04 17:09:41.508092"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:41.509276"], ["updated_at", "2016-04-04 17:09:41.509276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:41.518919"], ["updated_at", "2016-04-04 17:09:41.518919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.521276"], ["updated_at", "2016-04-04 17:09:41.521276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.524620"], ["updated_at", "2016-04-04 17:09:41.524620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:41.528823"], ["updated_at", "2016-04-04 17:09:41.528823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.529925"], ["updated_at", "2016-04-04 17:09:41.529925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.532579"], ["updated_at", "2016-04-04 17:09:41.532579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.535231"], ["updated_at", "2016-04-04 17:09:41.535231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:41.536878"], ["updated_at", "2016-04-04 17:09:41.536878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:41.537708"], ["updated_at", "2016-04-04 17:09:41.537708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:41.553174"], ["updated_at", "2016-04-04 17:09:41.553174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.555095"], ["updated_at", "2016-04-04 17:09:41.555095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.557595"], ["updated_at", "2016-04-04 17:09:41.557595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:41.559799"], ["updated_at", "2016-04-04 17:09:41.559799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.560887"], ["updated_at", "2016-04-04 17:09:41.560887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.563172"], ["updated_at", "2016-04-04 17:09:41.563172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.564667"], ["updated_at", "2016-04-04 17:09:41.564667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:41.567798"], ["updated_at", "2016-04-04 17:09:41.567798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:41.569507"], ["updated_at", "2016-04-04 17:09:41.569507"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (0.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:41.574092"], ["updated_at", "2016-04-04 17:09:41.574092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.575450"], ["updated_at", "2016-04-04 17:09:41.575450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.577870"], ["updated_at", "2016-04-04 17:09:41.577870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:41.579925"], ["updated_at", "2016-04-04 17:09:41.579925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.580919"], ["updated_at", "2016-04-04 17:09:41.580919"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.583053"], ["updated_at", "2016-04-04 17:09:41.583053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.584730"], ["updated_at", "2016-04-04 17:09:41.584730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:41.587551"], ["updated_at", "2016-04-04 17:09:41.587551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:41.588531"], ["updated_at", "2016-04-04 17:09:41.588531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:41.595502"], ["updated_at", "2016-04-04 17:09:41.595502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.596999"], ["updated_at", "2016-04-04 17:09:41.596999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.600453"], ["updated_at", "2016-04-04 17:09:41.600453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:41.602692"], ["updated_at", "2016-04-04 17:09:41.602692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.604378"], ["updated_at", "2016-04-04 17:09:41.604378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.609596"], ["updated_at", "2016-04-04 17:09:41.609596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.612448"], ["updated_at", "2016-04-04 17:09:41.612448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:41.614279"], ["updated_at", "2016-04-04 17:09:41.614279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:41.615401"], ["updated_at", "2016-04-04 17:09:41.615401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:41.621840"], ["updated_at", "2016-04-04 17:09:41.621840"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.623128"], ["updated_at", "2016-04-04 17:09:41.623128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:09:41.625243"], ["updated_at", "2016-04-04 17:09:41.625243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:41.626943"], ["updated_at", "2016-04-04 17:09:41.626943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.628620"], ["updated_at", "2016-04-04 17:09:41.628620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.630582"], ["updated_at", "2016-04-04 17:09:41.630582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:09:41.632522"], ["updated_at", "2016-04-04 17:09:41.632522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:09:41.635991"], ["updated_at", "2016-04-04 17:09:41.635991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:09:41.637088"], ["updated_at", "2016-04-04 17:09:41.637088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:09:41.681818"], ["updated_at", "2016-04-04 17:09:41.681818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:09:41.685331"], ["updated_at", "2016-04-04 17:09:41.685331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:09:41.687489"], ["updated_at", "2016-04-04 17:09:41.687489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:09:41.703879"], ["updated_at", "2016-04-04 17:09:41.703879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:41.714582"], ["updated_at", "2016-04-04 17:09:41.714582"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:41.717730"], ["updated_at", "2016-04-04 17:09:41.717730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:41.720592"], ["updated_at", "2016-04-04 17:09:41.720592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:41.721547"], ["updated_at", "2016-04-04 17:09:41.721547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:09:41.722530"], ["updated_at", "2016-04-04 17:09:41.722530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:09:41.731109"], ["updated_at", "2016-04-04 17:09:41.731109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:41.732687"], ["updated_at", "2016-04-04 17:09:41.732687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:09:41.734809"], ["updated_at", "2016-04-04 17:09:41.734809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:09:41.735857"], ["updated_at", "2016-04-04 17:09:41.735857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:09:41.737928"], ["updated_at", "2016-04-04 17:09:41.737928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:41.738866"], ["updated_at", "2016-04-04 17:09:41.738866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:41.740189"], ["updated_at", "2016-04-04 17:09:41.740189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:09:41.741521"], ["updated_at", "2016-04-04 17:09:41.741521"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:09:41.765190"], ["updated_at", "2016-04-04 17:09:41.765190"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:09:41.768611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:09:41.770977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:09:41.773112"], ["updated_at", "2016-04-04 17:09:41.773112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:09:41.774072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:09:41.775526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.8ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (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) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:05.414248"], ["updated_at", "2016-04-04 17:10:05.414248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.417813"], ["updated_at", "2016-04-04 17:10:05.417813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.421106"], ["updated_at", "2016-04-04 17:10:05.421106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:05.423124"], ["updated_at", "2016-04-04 17:10:05.423124"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.424805"], ["updated_at", "2016-04-04 17:10:05.424805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.428505"], ["updated_at", "2016-04-04 17:10:05.428505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.430596"], ["updated_at", "2016-04-04 17:10:05.430596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:05.432023"], ["updated_at", "2016-04-04 17:10:05.432023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:05.433072"], ["updated_at", "2016-04-04 17:10:05.433072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:05.444056"], ["updated_at", "2016-04-04 17:10:05.444056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.445347"], ["updated_at", "2016-04-04 17:10:05.445347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.448870"], ["updated_at", "2016-04-04 17:10:05.448870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:05.453328"], ["updated_at", "2016-04-04 17:10:05.453328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.454352"], ["updated_at", "2016-04-04 17:10:05.454352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.455885"], ["updated_at", "2016-04-04 17:10:05.455885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.457291"], ["updated_at", "2016-04-04 17:10:05.457291"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:05.459695"], ["updated_at", "2016-04-04 17:10:05.459695"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:05.461992"], ["updated_at", "2016-04-04 17:10:05.461992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.4ms) rollback transaction  (0.2ms) begin transaction Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:05.499127"], ["updated_at", "2016-04-04 17:10:05.499127"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.501552"], ["updated_at", "2016-04-04 17:10:05.501552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.505056"], ["updated_at", "2016-04-04 17:10:05.505056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:05.507360"], ["updated_at", "2016-04-04 17:10:05.507360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.508650"], ["updated_at", "2016-04-04 17:10:05.508650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.510535"], ["updated_at", "2016-04-04 17:10:05.510535"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.514587"], ["updated_at", "2016-04-04 17:10:05.514587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:05.518228"], ["updated_at", "2016-04-04 17:10:05.518228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:05.520188"], ["updated_at", "2016-04-04 17:10:05.520188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:05.527137"], ["updated_at", "2016-04-04 17:10:05.527137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.528440"], ["updated_at", "2016-04-04 17:10:05.528440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.532072"], ["updated_at", "2016-04-04 17:10:05.532072"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:05.539069"], ["updated_at", "2016-04-04 17:10:05.539069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.541334"], ["updated_at", "2016-04-04 17:10:05.541334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.544132"], ["updated_at", "2016-04-04 17:10:05.544132"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.546949"], ["updated_at", "2016-04-04 17:10:05.546949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:05.548919"], ["updated_at", "2016-04-04 17:10:05.548919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:05.550190"], ["updated_at", "2016-04-04 17:10:05.550190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:05.557941"], ["updated_at", "2016-04-04 17:10:05.557941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.559823"], ["updated_at", "2016-04-04 17:10:05.559823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.562498"], ["updated_at", "2016-04-04 17:10:05.562498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:05.566567"], ["updated_at", "2016-04-04 17:10:05.566567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.568124"], ["updated_at", "2016-04-04 17:10:05.568124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.570751"], ["updated_at", "2016-04-04 17:10:05.570751"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.572622"], ["updated_at", "2016-04-04 17:10:05.572622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:05.574091"], ["updated_at", "2016-04-04 17:10:05.574091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:05.575303"], ["updated_at", "2016-04-04 17:10:05.575303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:05.583462"], ["updated_at", "2016-04-04 17:10:05.583462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.584954"], ["updated_at", "2016-04-04 17:10:05.584954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:05.587975"], ["updated_at", "2016-04-04 17:10:05.587975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:05.590429"], ["updated_at", "2016-04-04 17:10:05.590429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.592250"], ["updated_at", "2016-04-04 17:10:05.592250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.595262"], ["updated_at", "2016-04-04 17:10:05.595262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:05.597168"], ["updated_at", "2016-04-04 17:10:05.597168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:05.599303"], ["updated_at", "2016-04-04 17:10:05.599303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:05.601849"], ["updated_at", "2016-04-04 17:10:05.601849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:10:05.643054"], ["updated_at", "2016-04-04 17:10:05.643054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:10:05.644687"], ["updated_at", "2016-04-04 17:10:05.644687"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:10:05.646368"], ["updated_at", "2016-04-04 17:10:05.646368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:10:05.696903"], ["updated_at", "2016-04-04 17:10:05.696903"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:05.708160"], ["updated_at", "2016-04-04 17:10:05.708160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:10:05.710835"], ["updated_at", "2016-04-04 17:10:05.710835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:05.715101"], ["updated_at", "2016-04-04 17:10:05.715101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:10:05.717421"], ["updated_at", "2016-04-04 17:10:05.717421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:10:05.718811"], ["updated_at", "2016-04-04 17:10:05.718811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.6ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:05.728697"], ["updated_at", "2016-04-04 17:10:05.728697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:10:05.731419"], ["updated_at", "2016-04-04 17:10:05.731419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:10:05.735169"], ["updated_at", "2016-04-04 17:10:05.735169"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:10:05.737019"], ["updated_at", "2016-04-04 17:10:05.737019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:05.738989"], ["updated_at", "2016-04-04 17:10:05.738989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:10:05.740280"], ["updated_at", "2016-04-04 17:10:05.740280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:10:05.742882"], ["updated_at", "2016-04-04 17:10:05.742882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:10:05.745701"], ["updated_at", "2016-04-04 17:10:05.745701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:10:05.769414"], ["updated_at", "2016-04-04 17:10:05.769414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:10:05.770896"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:10:05.773444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:10:05.775973"], ["updated_at", "2016-04-04 17:10:05.775973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:10:05.777353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:10:05.779369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:18.921327"], ["updated_at", "2016-04-04 17:10:18.921327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:18.925185"], ["updated_at", "2016-04-04 17:10:18.925185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:18.927696"], ["updated_at", "2016-04-04 17:10:18.927696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:18.930601"], ["updated_at", "2016-04-04 17:10:18.930601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:18.932440"], ["updated_at", "2016-04-04 17:10:18.932440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:18.935591"], ["updated_at", "2016-04-04 17:10:18.935591"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:18.937105"], ["updated_at", "2016-04-04 17:10:18.937105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:18.938448"], ["updated_at", "2016-04-04 17:10:18.938448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:18.939295"], ["updated_at", "2016-04-04 17:10:18.939295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:18.950991"], ["updated_at", "2016-04-04 17:10:18.950991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:18.953065"], ["updated_at", "2016-04-04 17:10:18.953065"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:18.957737"], ["updated_at", "2016-04-04 17:10:18.957737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:18.960146"], ["updated_at", "2016-04-04 17:10:18.960146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:18.961558"], ["updated_at", "2016-04-04 17:10:18.961558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:18.964345"], ["updated_at", "2016-04-04 17:10:18.964345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:18.967596"], ["updated_at", "2016-04-04 17:10:18.967596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:18.969286"], ["updated_at", "2016-04-04 17:10:18.969286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:18.970713"], ["updated_at", "2016-04-04 17:10:18.970713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:19.005709"], ["updated_at", "2016-04-04 17:10:19.005709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:19.012929"], ["updated_at", "2016-04-04 17:10:19.012929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:19.016483"], ["updated_at", "2016-04-04 17:10:19.016483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:19.019680"], ["updated_at", "2016-04-04 17:10:19.019680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.021615"], ["updated_at", "2016-04-04 17:10:19.021615"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.023525"], ["updated_at", "2016-04-04 17:10:19.023525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.024851"], ["updated_at", "2016-04-04 17:10:19.024851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:19.027499"], ["updated_at", "2016-04-04 17:10:19.027499"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:19.028804"], ["updated_at", "2016-04-04 17:10:19.028804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:19.035044"], ["updated_at", "2016-04-04 17:10:19.035044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:19.036317"], ["updated_at", "2016-04-04 17:10:19.036317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:19.038774"], ["updated_at", "2016-04-04 17:10:19.038774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:19.040997"], ["updated_at", "2016-04-04 17:10:19.040997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.042512"], ["updated_at", "2016-04-04 17:10:19.042512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.044371"], ["updated_at", "2016-04-04 17:10:19.044371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.046433"], ["updated_at", "2016-04-04 17:10:19.046433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:19.047819"], ["updated_at", "2016-04-04 17:10:19.047819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:19.049063"], ["updated_at", "2016-04-04 17:10:19.049063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.3ms) begin transaction Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:19.058378"], ["updated_at", "2016-04-04 17:10:19.058378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:19.060196"], ["updated_at", "2016-04-04 17:10:19.060196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:19.063113"], ["updated_at", "2016-04-04 17:10:19.063113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:19.067490"], ["updated_at", "2016-04-04 17:10:19.067490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.068818"], ["updated_at", "2016-04-04 17:10:19.068818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.070381"], ["updated_at", "2016-04-04 17:10:19.070381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.071705"], ["updated_at", "2016-04-04 17:10:19.071705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:19.073095"], ["updated_at", "2016-04-04 17:10:19.073095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:19.073954"], ["updated_at", "2016-04-04 17:10:19.073954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:19.081612"], ["updated_at", "2016-04-04 17:10:19.081612"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:10:19.083125"], ["updated_at", "2016-04-04 17:10:19.083125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:10:19.086087"], ["updated_at", "2016-04-04 17:10:19.086087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:19.088221"], ["updated_at", "2016-04-04 17:10:19.088221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.089635"], ["updated_at", "2016-04-04 17:10:19.089635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.092303"], ["updated_at", "2016-04-04 17:10:19.092303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:10:19.094285"], ["updated_at", "2016-04-04 17:10:19.094285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:10:19.095974"], ["updated_at", "2016-04-04 17:10:19.095974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:10:19.096875"], ["updated_at", "2016-04-04 17:10:19.096875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:10:19.139474"], ["updated_at", "2016-04-04 17:10:19.139474"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:10:19.141402"], ["updated_at", "2016-04-04 17:10:19.141402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:10:19.143014"], ["updated_at", "2016-04-04 17:10:19.143014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:10:19.198943"], ["updated_at", "2016-04-04 17:10:19.198943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:19.209099"], ["updated_at", "2016-04-04 17:10:19.209099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:10:19.212074"], ["updated_at", "2016-04-04 17:10:19.212074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:19.217567"], ["updated_at", "2016-04-04 17:10:19.217567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:10:19.218756"], ["updated_at", "2016-04-04 17:10:19.218756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:10:19.220068"], ["updated_at", "2016-04-04 17:10:19.220068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:10:19.228340"], ["updated_at", "2016-04-04 17:10:19.228340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:10:19.231696"], ["updated_at", "2016-04-04 17:10:19.231696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:10:19.234391"], ["updated_at", "2016-04-04 17:10:19.234391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:10:19.235432"], ["updated_at", "2016-04-04 17:10:19.235432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:10:19.237288"], ["updated_at", "2016-04-04 17:10:19.237288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:10:19.238292"], ["updated_at", "2016-04-04 17:10:19.238292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:10:19.239718"], ["updated_at", "2016-04-04 17:10:19.239718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:10:19.241104"], ["updated_at", "2016-04-04 17:10:19.241104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:11:36.683243"], ["updated_at", "2016-04-04 17:11:36.683243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.685707"], ["updated_at", "2016-04-04 17:11:36.685707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.688512"], ["updated_at", "2016-04-04 17:11:36.688512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:11:36.690597"], ["updated_at", "2016-04-04 17:11:36.690597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.692538"], ["updated_at", "2016-04-04 17:11:36.692538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.695243"], ["updated_at", "2016-04-04 17:11:36.695243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.697145"], ["updated_at", "2016-04-04 17:11:36.697145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:11:36.698803"], ["updated_at", "2016-04-04 17:11:36.698803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:11:36.699844"], ["updated_at", "2016-04-04 17:11:36.699844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.5ms) rollback transaction  (0.2ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:11:36.711832"], ["updated_at", "2016-04-04 17:11:36.711832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.713619"], ["updated_at", "2016-04-04 17:11:36.713619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.718122"], ["updated_at", "2016-04-04 17:11:36.718122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:11:36.721678"], ["updated_at", "2016-04-04 17:11:36.721678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.723175"], ["updated_at", "2016-04-04 17:11:36.723175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.726106"], ["updated_at", "2016-04-04 17:11:36.726106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.727953"], ["updated_at", "2016-04-04 17:11:36.727953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:11:36.730359"], ["updated_at", "2016-04-04 17:11:36.730359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:11:36.731252"], ["updated_at", "2016-04-04 17:11:36.731252"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:11:36.767917"], ["updated_at", "2016-04-04 17:11:36.767917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.769475"], ["updated_at", "2016-04-04 17:11:36.769475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.771740"], ["updated_at", "2016-04-04 17:11:36.771740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:11:36.774260"], ["updated_at", "2016-04-04 17:11:36.774260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.775374"], ["updated_at", "2016-04-04 17:11:36.775374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.777237"], ["updated_at", "2016-04-04 17:11:36.777237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.778682"], ["updated_at", "2016-04-04 17:11:36.778682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:11:36.780599"], ["updated_at", "2016-04-04 17:11:36.780599"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:11:36.781569"], ["updated_at", "2016-04-04 17:11:36.781569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:11:36.788842"], ["updated_at", "2016-04-04 17:11:36.788842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.790360"], ["updated_at", "2016-04-04 17:11:36.790360"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.798312"], ["updated_at", "2016-04-04 17:11:36.798312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:11:36.801630"], ["updated_at", "2016-04-04 17:11:36.801630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.803225"], ["updated_at", "2016-04-04 17:11:36.803225"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.806618"], ["updated_at", "2016-04-04 17:11:36.806618"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.810010"], ["updated_at", "2016-04-04 17:11:36.810010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:11:36.813212"], ["updated_at", "2016-04-04 17:11:36.813212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:11:36.814886"], ["updated_at", "2016-04-04 17:11:36.814886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:11:36.822334"], ["updated_at", "2016-04-04 17:11:36.822334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.823713"], ["updated_at", "2016-04-04 17:11:36.823713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.827356"], ["updated_at", "2016-04-04 17:11:36.827356"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:11:36.830136"], ["updated_at", "2016-04-04 17:11:36.830136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.832231"], ["updated_at", "2016-04-04 17:11:36.832231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.834669"], ["updated_at", "2016-04-04 17:11:36.834669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.836732"], ["updated_at", "2016-04-04 17:11:36.836732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:11:36.839166"], ["updated_at", "2016-04-04 17:11:36.839166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:11:36.840368"], ["updated_at", "2016-04-04 17:11:36.840368"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:11:36.846735"], ["updated_at", "2016-04-04 17:11:36.846735"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.848716"], ["updated_at", "2016-04-04 17:11:36.848716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:11:36.851640"], ["updated_at", "2016-04-04 17:11:36.851640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:11:36.853243"], ["updated_at", "2016-04-04 17:11:36.853243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.854686"], ["updated_at", "2016-04-04 17:11:36.854686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.857220"], ["updated_at", "2016-04-04 17:11:36.857220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:11:36.859106"], ["updated_at", "2016-04-04 17:11:36.859106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:11:36.860548"], ["updated_at", "2016-04-04 17:11:36.860548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:11:36.862546"], ["updated_at", "2016-04-04 17:11:36.862546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:11:36.904088"], ["updated_at", "2016-04-04 17:11:36.904088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:11:36.905769"], ["updated_at", "2016-04-04 17:11:36.905769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:11:36.907597"], ["updated_at", "2016-04-04 17:11:36.907597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (5.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:11:36.962668"], ["updated_at", "2016-04-04 17:11:36.962668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:11:36.970342"], ["updated_at", "2016-04-04 17:11:36.970342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:11:36.973309"], ["updated_at", "2016-04-04 17:11:36.973309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:11:36.976821"], ["updated_at", "2016-04-04 17:11:36.976821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:11:36.978351"], ["updated_at", "2016-04-04 17:11:36.978351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:11:36.980123"], ["updated_at", "2016-04-04 17:11:36.980123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:11:36.990672"], ["updated_at", "2016-04-04 17:11:36.990672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:11:36.992401"], ["updated_at", "2016-04-04 17:11:36.992401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:11:36.996277"], ["updated_at", "2016-04-04 17:11:36.996277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:11:36.998789"], ["updated_at", "2016-04-04 17:11:36.998789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:11:37.000716"], ["updated_at", "2016-04-04 17:11:37.000716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:11:37.003008"], ["updated_at", "2016-04-04 17:11:37.003008"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:11:37.004877"], ["updated_at", "2016-04-04 17:11:37.004877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:11:37.007929"], ["updated_at", "2016-04-04 17:11:37.007929"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.4ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:11:37.033778"], ["updated_at", "2016-04-04 17:11:37.033778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:11:37.035660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:11:37.038308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:11:37.040634"], ["updated_at", "2016-04-04 17:11:37.040634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:11:37.042936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:11:37.046075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (2.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:12:36.513871"], ["updated_at", "2016-04-04 17:12:36.513871"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.520176"], ["updated_at", "2016-04-04 17:12:36.520176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.526281"], ["updated_at", "2016-04-04 17:12:36.526281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:12:36.529444"], ["updated_at", "2016-04-04 17:12:36.529444"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.531547"], ["updated_at", "2016-04-04 17:12:36.531547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.537264"], ["updated_at", "2016-04-04 17:12:36.537264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.539016"], ["updated_at", "2016-04-04 17:12:36.539016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:12:36.540559"], ["updated_at", "2016-04-04 17:12:36.540559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:12:36.541395"], ["updated_at", "2016-04-04 17:12:36.541395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:12:36.552127"], ["updated_at", "2016-04-04 17:12:36.552127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.553754"], ["updated_at", "2016-04-04 17:12:36.553754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.557647"], ["updated_at", "2016-04-04 17:12:36.557647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:12:36.559759"], ["updated_at", "2016-04-04 17:12:36.559759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.560750"], ["updated_at", "2016-04-04 17:12:36.560750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.562787"], ["updated_at", "2016-04-04 17:12:36.562787"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.565345"], ["updated_at", "2016-04-04 17:12:36.565345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:12:36.567937"], ["updated_at", "2016-04-04 17:12:36.567937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:12:36.569052"], ["updated_at", "2016-04-04 17:12:36.569052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:12:36.604669"], ["updated_at", "2016-04-04 17:12:36.604669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.607334"], ["updated_at", "2016-04-04 17:12:36.607334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.611796"], ["updated_at", "2016-04-04 17:12:36.611796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:12:36.613844"], ["updated_at", "2016-04-04 17:12:36.613844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.615119"], ["updated_at", "2016-04-04 17:12:36.615119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.617666"], ["updated_at", "2016-04-04 17:12:36.617666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.619652"], ["updated_at", "2016-04-04 17:12:36.619652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:12:36.621418"], ["updated_at", "2016-04-04 17:12:36.621418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:12:36.623757"], ["updated_at", "2016-04-04 17:12:36.623757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.7ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:12:36.631255"], ["updated_at", "2016-04-04 17:12:36.631255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.632504"], ["updated_at", "2016-04-04 17:12:36.632504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.635240"], ["updated_at", "2016-04-04 17:12:36.635240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:12:36.638014"], ["updated_at", "2016-04-04 17:12:36.638014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.639249"], ["updated_at", "2016-04-04 17:12:36.639249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.641607"], ["updated_at", "2016-04-04 17:12:36.641607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.643274"], ["updated_at", "2016-04-04 17:12:36.643274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:12:36.644726"], ["updated_at", "2016-04-04 17:12:36.644726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:12:36.645557"], ["updated_at", "2016-04-04 17:12:36.645557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:12:36.652085"], ["updated_at", "2016-04-04 17:12:36.652085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.653870"], ["updated_at", "2016-04-04 17:12:36.653870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.655919"], ["updated_at", "2016-04-04 17:12:36.655919"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:12:36.660129"], ["updated_at", "2016-04-04 17:12:36.660129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.661805"], ["updated_at", "2016-04-04 17:12:36.661805"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.663665"], ["updated_at", "2016-04-04 17:12:36.663665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.665257"], ["updated_at", "2016-04-04 17:12:36.665257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:12:36.669217"], ["updated_at", "2016-04-04 17:12:36.669217"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:12:36.671597"], ["updated_at", "2016-04-04 17:12:36.671597"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:12:36.681866"], ["updated_at", "2016-04-04 17:12:36.681866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.683613"], ["updated_at", "2016-04-04 17:12:36.683613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:12:36.686666"], ["updated_at", "2016-04-04 17:12:36.686666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:12:36.688985"], ["updated_at", "2016-04-04 17:12:36.688985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.689963"], ["updated_at", "2016-04-04 17:12:36.689963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.691365"], ["updated_at", "2016-04-04 17:12:36.691365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:12:36.693551"], ["updated_at", "2016-04-04 17:12:36.693551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:12:36.696076"], ["updated_at", "2016-04-04 17:12:36.696076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:12:36.696966"], ["updated_at", "2016-04-04 17:12:36.696966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:12:36.738119"], ["updated_at", "2016-04-04 17:12:36.738119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:12:36.740176"], ["updated_at", "2016-04-04 17:12:36.740176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:12:36.742463"], ["updated_at", "2016-04-04 17:12:36.742463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:12:36.796244"], ["updated_at", "2016-04-04 17:12:36.796244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:12:36.808573"], ["updated_at", "2016-04-04 17:12:36.808573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:12:36.810116"], ["updated_at", "2016-04-04 17:12:36.810116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:12:36.812361"], ["updated_at", "2016-04-04 17:12:36.812361"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:12:36.813951"], ["updated_at", "2016-04-04 17:12:36.813951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:12:36.815668"], ["updated_at", "2016-04-04 17:12:36.815668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:12:36.823960"], ["updated_at", "2016-04-04 17:12:36.823960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:12:36.827567"], ["updated_at", "2016-04-04 17:12:36.827567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:12:36.834812"], ["updated_at", "2016-04-04 17:12:36.834812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:12:36.836453"], ["updated_at", "2016-04-04 17:12:36.836453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:12:36.840003"], ["updated_at", "2016-04-04 17:12:36.840003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:12:36.841458"], ["updated_at", "2016-04-04 17:12:36.841458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:12:36.842838"], ["updated_at", "2016-04-04 17:12:36.842838"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:12:36.844481"], ["updated_at", "2016-04-04 17:12:36.844481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.5ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:12:36.873269"], ["updated_at", "2016-04-04 17:12:36.873269"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:12:36.877256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:12:36.879565"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:12:36.882642"], ["updated_at", "2016-04-04 17:12:36.882642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:12:36.887344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:12:36.889819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.9ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.7ms) begin transaction  (0.2ms) rollback transaction  (0.8ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:13:45.922239"], ["updated_at", "2016-04-04 17:13:45.922239"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:13:45.927220"], ["updated_at", "2016-04-04 17:13:45.927220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:13:45.932109"], ["updated_at", "2016-04-04 17:13:45.932109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:13:45.935428"], ["updated_at", "2016-04-04 17:13:45.935428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:13:45.937855"], ["updated_at", "2016-04-04 17:13:45.937855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:13:45.940311"], ["updated_at", "2016-04-04 17:13:45.940311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:13:45.942124"], ["updated_at", "2016-04-04 17:13:45.942124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:13:45.943706"], ["updated_at", "2016-04-04 17:13:45.943706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:13:45.944528"], ["updated_at", "2016-04-04 17:13:45.944528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.7ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:13:45.954538"], ["updated_at", "2016-04-04 17:13:45.954538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:13:45.955856"], ["updated_at", "2016-04-04 17:13:45.955856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:13:45.960502"], ["updated_at", "2016-04-04 17:13:45.960502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:13:45.962998"], ["updated_at", "2016-04-04 17:13:45.962998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:13:45.964221"], ["updated_at", "2016-04-04 17:13:45.964221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:13:45.967807"], ["updated_at", "2016-04-04 17:13:45.967807"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:13:45.971270"], ["updated_at", "2016-04-04 17:13:45.971270"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:13:45.973291"], ["updated_at", "2016-04-04 17:13:45.973291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:13:45.974200"], ["updated_at", "2016-04-04 17:13:45.974200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:13:46.012891"], ["updated_at", "2016-04-04 17:13:46.012891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:13:46.014752"], ["updated_at", "2016-04-04 17:13:46.014752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:13:46.019407"], ["updated_at", "2016-04-04 17:13:46.019407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:13:46.022250"], ["updated_at", "2016-04-04 17:13:46.022250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.023208"], ["updated_at", "2016-04-04 17:13:46.023208"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.024603"], ["updated_at", "2016-04-04 17:13:46.024603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.025893"], ["updated_at", "2016-04-04 17:13:46.025893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:13:46.027237"], ["updated_at", "2016-04-04 17:13:46.027237"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:13:46.028375"], ["updated_at", "2016-04-04 17:13:46.028375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:13:46.035205"], ["updated_at", "2016-04-04 17:13:46.035205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:13:46.036544"], ["updated_at", "2016-04-04 17:13:46.036544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:13:46.042845"], ["updated_at", "2016-04-04 17:13:46.042845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:13:46.046307"], ["updated_at", "2016-04-04 17:13:46.046307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.047210"], ["updated_at", "2016-04-04 17:13:46.047210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.049101"], ["updated_at", "2016-04-04 17:13:46.049101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.052970"], ["updated_at", "2016-04-04 17:13:46.052970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:13:46.056521"], ["updated_at", "2016-04-04 17:13:46.056521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:13:46.058668"], ["updated_at", "2016-04-04 17:13:46.058668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.2ms) begin transaction Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:13:46.067006"], ["updated_at", "2016-04-04 17:13:46.067006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:13:46.069506"], ["updated_at", "2016-04-04 17:13:46.069506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:13:46.074184"], ["updated_at", "2016-04-04 17:13:46.074184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:13:46.077771"], ["updated_at", "2016-04-04 17:13:46.077771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.079361"], ["updated_at", "2016-04-04 17:13:46.079361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.081789"], ["updated_at", "2016-04-04 17:13:46.081789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.085042"], ["updated_at", "2016-04-04 17:13:46.085042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:13:46.088339"], ["updated_at", "2016-04-04 17:13:46.088339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:13:46.089410"], ["updated_at", "2016-04-04 17:13:46.089410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:13:46.095459"], ["updated_at", "2016-04-04 17:13:46.095459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:13:46.096818"], ["updated_at", "2016-04-04 17:13:46.096818"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:13:46.100224"], ["updated_at", "2016-04-04 17:13:46.100224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:13:46.103684"], ["updated_at", "2016-04-04 17:13:46.103684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.104689"], ["updated_at", "2016-04-04 17:13:46.104689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.107397"], ["updated_at", "2016-04-04 17:13:46.107397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:13:46.109816"], ["updated_at", "2016-04-04 17:13:46.109816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:13:46.111472"], ["updated_at", "2016-04-04 17:13:46.111472"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:13:46.112318"], ["updated_at", "2016-04-04 17:13:46.112318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:13:46.144505"], ["updated_at", "2016-04-04 17:13:46.144505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:13:46.146157"], ["updated_at", "2016-04-04 17:13:46.146157"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:13:46.147591"], ["updated_at", "2016-04-04 17:13:46.147591"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:13:46.209779"], ["updated_at", "2016-04-04 17:13:46.209779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:13:46.219839"], ["updated_at", "2016-04-04 17:13:46.219839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:13:46.221233"], ["updated_at", "2016-04-04 17:13:46.221233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:13:46.223971"], ["updated_at", "2016-04-04 17:13:46.223971"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:13:46.226051"], ["updated_at", "2016-04-04 17:13:46.226051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:13:46.227158"], ["updated_at", "2016-04-04 17:13:46.227158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:13:46.236990"], ["updated_at", "2016-04-04 17:13:46.236990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:13:46.238485"], ["updated_at", "2016-04-04 17:13:46.238485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:13:46.243361"], ["updated_at", "2016-04-04 17:13:46.243361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:13:46.244851"], ["updated_at", "2016-04-04 17:13:46.244851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:13:46.246330"], ["updated_at", "2016-04-04 17:13:46.246330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:13:46.247226"], ["updated_at", "2016-04-04 17:13:46.247226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:13:46.250893"], ["updated_at", "2016-04-04 17:13:46.250893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:13:46.254563"], ["updated_at", "2016-04-04 17:13:46.254563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.5ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:13:46.280207"], ["updated_at", "2016-04-04 17:13:46.280207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:13:46.281397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:13:46.285015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:13:46.286957"], ["updated_at", "2016-04-04 17:13:46.286957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:13:46.289693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:13:46.292666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.6ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:16:22.926433"], ["updated_at", "2016-04-04 17:16:22.926433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:16:22.931624"], ["updated_at", "2016-04-04 17:16:22.931624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:16:22.936377"], ["updated_at", "2016-04-04 17:16:22.936377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:16:22.939269"], ["updated_at", "2016-04-04 17:16:22.939269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:16:22.941520"], ["updated_at", "2016-04-04 17:16:22.941520"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:16:22.943637"], ["updated_at", "2016-04-04 17:16:22.943637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:16:22.945565"], ["updated_at", "2016-04-04 17:16:22.945565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:16:22.947072"], ["updated_at", "2016-04-04 17:16:22.947072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:16:22.947887"], ["updated_at", "2016-04-04 17:16:22.947887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:16:22.957734"], ["updated_at", "2016-04-04 17:16:22.957734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:16:22.959094"], ["updated_at", "2016-04-04 17:16:22.959094"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:16:22.962774"], ["updated_at", "2016-04-04 17:16:22.962774"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:16:22.966558"], ["updated_at", "2016-04-04 17:16:22.966558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:16:22.968047"], ["updated_at", "2016-04-04 17:16:22.968047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:16:22.969623"], ["updated_at", "2016-04-04 17:16:22.969623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:16:22.971003"], ["updated_at", "2016-04-04 17:16:22.971003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:16:22.972493"], ["updated_at", "2016-04-04 17:16:22.972493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:16:22.973317"], ["updated_at", "2016-04-04 17:16:22.973317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:16:23.008505"], ["updated_at", "2016-04-04 17:16:23.008505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:16:23.010507"], ["updated_at", "2016-04-04 17:16:23.010507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:16:23.014766"], ["updated_at", "2016-04-04 17:16:23.014766"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:16:23.019212"], ["updated_at", "2016-04-04 17:16:23.019212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.021137"], ["updated_at", "2016-04-04 17:16:23.021137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.024091"], ["updated_at", "2016-04-04 17:16:23.024091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.026496"], ["updated_at", "2016-04-04 17:16:23.026496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:16:23.029784"], ["updated_at", "2016-04-04 17:16:23.029784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:16:23.031116"], ["updated_at", "2016-04-04 17:16:23.031116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.8ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:16:23.039232"], ["updated_at", "2016-04-04 17:16:23.039232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:16:23.041765"], ["updated_at", "2016-04-04 17:16:23.041765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:16:23.044090"], ["updated_at", "2016-04-04 17:16:23.044090"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:16:23.046073"], ["updated_at", "2016-04-04 17:16:23.046073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.047484"], ["updated_at", "2016-04-04 17:16:23.047484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.049248"], ["updated_at", "2016-04-04 17:16:23.049248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.052192"], ["updated_at", "2016-04-04 17:16:23.052192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:16:23.054005"], ["updated_at", "2016-04-04 17:16:23.054005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:16:23.054860"], ["updated_at", "2016-04-04 17:16:23.054860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (6.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:16:23.068622"], ["updated_at", "2016-04-04 17:16:23.068622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:16:23.070955"], ["updated_at", "2016-04-04 17:16:23.070955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:16:23.075097"], ["updated_at", "2016-04-04 17:16:23.075097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:16:23.077669"], ["updated_at", "2016-04-04 17:16:23.077669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.079581"], ["updated_at", "2016-04-04 17:16:23.079581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.082529"], ["updated_at", "2016-04-04 17:16:23.082529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.085015"], ["updated_at", "2016-04-04 17:16:23.085015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:16:23.086715"], ["updated_at", "2016-04-04 17:16:23.086715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:16:23.087988"], ["updated_at", "2016-04-04 17:16:23.087988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:16:23.095973"], ["updated_at", "2016-04-04 17:16:23.095973"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:16:23.097468"], ["updated_at", "2016-04-04 17:16:23.097468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:16:23.104000"], ["updated_at", "2016-04-04 17:16:23.104000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:16:23.106032"], ["updated_at", "2016-04-04 17:16:23.106032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.107647"], ["updated_at", "2016-04-04 17:16:23.107647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.109213"], ["updated_at", "2016-04-04 17:16:23.109213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:16:23.111428"], ["updated_at", "2016-04-04 17:16:23.111428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:16:23.114191"], ["updated_at", "2016-04-04 17:16:23.114191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:16:23.115249"], ["updated_at", "2016-04-04 17:16:23.115249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (4.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:16:23.157027"], ["updated_at", "2016-04-04 17:16:23.157027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:16:23.159582"], ["updated_at", "2016-04-04 17:16:23.159582"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:16:23.161085"], ["updated_at", "2016-04-04 17:16:23.161085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:16:23.219338"], ["updated_at", "2016-04-04 17:16:23.219338"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:16:23.232749"], ["updated_at", "2016-04-04 17:16:23.232749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:16:23.234814"], ["updated_at", "2016-04-04 17:16:23.234814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:16:23.236963"], ["updated_at", "2016-04-04 17:16:23.236963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:16:23.237950"], ["updated_at", "2016-04-04 17:16:23.237950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:16:23.239310"], ["updated_at", "2016-04-04 17:16:23.239310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:16:23.247950"], ["updated_at", "2016-04-04 17:16:23.247950"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:16:23.252228"], ["updated_at", "2016-04-04 17:16:23.252228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:16:23.255339"], ["updated_at", "2016-04-04 17:16:23.255339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:16:23.257428"], ["updated_at", "2016-04-04 17:16:23.257428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:16:23.258972"], ["updated_at", "2016-04-04 17:16:23.258972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:16:23.260294"], ["updated_at", "2016-04-04 17:16:23.260294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:16:23.261907"], ["updated_at", "2016-04-04 17:16:23.261907"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:16:23.263489"], ["updated_at", "2016-04-04 17:16:23.263489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:16:23.286270"], ["updated_at", "2016-04-04 17:16:23.286270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:16:23.287504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:16:23.289671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:16:23.292278"], ["updated_at", "2016-04-04 17:16:23.292278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:16:23.295357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:16:23.298359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:47:39.853613"], ["updated_at", "2016-04-04 17:47:39.853613"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.859272"], ["updated_at", "2016-04-04 17:47:39.859272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.864884"], ["updated_at", "2016-04-04 17:47:39.864884"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:47:39.868209"], ["updated_at", "2016-04-04 17:47:39.868209"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.870422"], ["updated_at", "2016-04-04 17:47:39.870422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.872033"], ["updated_at", "2016-04-04 17:47:39.872033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.873425"], ["updated_at", "2016-04-04 17:47:39.873425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:47:39.874857"], ["updated_at", "2016-04-04 17:47:39.874857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:47:39.875799"], ["updated_at", "2016-04-04 17:47:39.875799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.7ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:47:39.888746"], ["updated_at", "2016-04-04 17:47:39.888746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.890296"], ["updated_at", "2016-04-04 17:47:39.890296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.894283"], ["updated_at", "2016-04-04 17:47:39.894283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:47:39.896571"], ["updated_at", "2016-04-04 17:47:39.896571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.897506"], ["updated_at", "2016-04-04 17:47:39.897506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.898958"], ["updated_at", "2016-04-04 17:47:39.898958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.900537"], ["updated_at", "2016-04-04 17:47:39.900537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:47:39.903699"], ["updated_at", "2016-04-04 17:47:39.903699"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:47:39.905177"], ["updated_at", "2016-04-04 17:47:39.905177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:47:39.940318"], ["updated_at", "2016-04-04 17:47:39.940318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.941963"], ["updated_at", "2016-04-04 17:47:39.941963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.946177"], ["updated_at", "2016-04-04 17:47:39.946177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:47:39.948776"], ["updated_at", "2016-04-04 17:47:39.948776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.949683"], ["updated_at", "2016-04-04 17:47:39.949683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.951264"], ["updated_at", "2016-04-04 17:47:39.951264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.954218"], ["updated_at", "2016-04-04 17:47:39.954218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:47:39.957032"], ["updated_at", "2016-04-04 17:47:39.957032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:47:39.958212"], ["updated_at", "2016-04-04 17:47:39.958212"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:47:39.964935"], ["updated_at", "2016-04-04 17:47:39.964935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.966231"], ["updated_at", "2016-04-04 17:47:39.966231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.968771"], ["updated_at", "2016-04-04 17:47:39.968771"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:47:39.971566"], ["updated_at", "2016-04-04 17:47:39.971566"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.973094"], ["updated_at", "2016-04-04 17:47:39.973094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.975103"], ["updated_at", "2016-04-04 17:47:39.975103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.977136"], ["updated_at", "2016-04-04 17:47:39.977136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:47:39.978516"], ["updated_at", "2016-04-04 17:47:39.978516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:47:39.979373"], ["updated_at", "2016-04-04 17:47:39.979373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:47:39.987812"], ["updated_at", "2016-04-04 17:47:39.987812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.989381"], ["updated_at", "2016-04-04 17:47:39.989381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:47:39.992399"], ["updated_at", "2016-04-04 17:47:39.992399"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:47:39.996178"], ["updated_at", "2016-04-04 17:47:39.996178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:47:39.998892"], ["updated_at", "2016-04-04 17:47:39.998892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:47:40.000644"], ["updated_at", "2016-04-04 17:47:40.000644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:47:40.004586"], ["updated_at", "2016-04-04 17:47:40.004586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:47:40.011502"], ["updated_at", "2016-04-04 17:47:40.011502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:47:40.013811"], ["updated_at", "2016-04-04 17:47:40.013811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:47:40.022981"], ["updated_at", "2016-04-04 17:47:40.022981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 17:47:40.024349"], ["updated_at", "2016-04-04 17:47:40.024349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 17:47:40.027998"], ["updated_at", "2016-04-04 17:47:40.027998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:47:40.030652"], ["updated_at", "2016-04-04 17:47:40.030652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 17:47:40.031723"], ["updated_at", "2016-04-04 17:47:40.031723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 17:47:40.033666"], ["updated_at", "2016-04-04 17:47:40.033666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 17:47:40.035557"], ["updated_at", "2016-04-04 17:47:40.035557"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 17:47:40.040294"], ["updated_at", "2016-04-04 17:47:40.040294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 17:47:40.041739"], ["updated_at", "2016-04-04 17:47:40.041739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 17:47:40.081115"], ["updated_at", "2016-04-04 17:47:40.081115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 17:47:40.082990"], ["updated_at", "2016-04-04 17:47:40.082990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 17:47:40.084610"], ["updated_at", "2016-04-04 17:47:40.084610"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 17:47:40.141506"], ["updated_at", "2016-04-04 17:47:40.141506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:47:40.150002"], ["updated_at", "2016-04-04 17:47:40.150002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:47:40.151978"], ["updated_at", "2016-04-04 17:47:40.151978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:47:40.155353"], ["updated_at", "2016-04-04 17:47:40.155353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:47:40.156501"], ["updated_at", "2016-04-04 17:47:40.156501"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:47:40.157913"], ["updated_at", "2016-04-04 17:47:40.157913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 17:47:40.169496"], ["updated_at", "2016-04-04 17:47:40.169496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:47:40.171863"], ["updated_at", "2016-04-04 17:47:40.171863"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 17:47:40.177725"], ["updated_at", "2016-04-04 17:47:40.177725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 17:47:40.179040"], ["updated_at", "2016-04-04 17:47:40.179040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 17:47:40.180529"], ["updated_at", "2016-04-04 17:47:40.180529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:47:40.181843"], ["updated_at", "2016-04-04 17:47:40.181843"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:47:40.183255"], ["updated_at", "2016-04-04 17:47:40.183255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 17:47:40.185469"], ["updated_at", "2016-04-04 17:47:40.185469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 17:47:40.213998"], ["updated_at", "2016-04-04 17:47:40.213998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:47:40.215247"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 17:47:40.217367"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 17:47:40.220744"], ["updated_at", "2016-04-04 17:47:40.220744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:47:40.221898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 17:47:40.224750"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.9ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 18:07:57.726076"], ["updated_at", "2016-04-04 18:07:57.726076"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 18:07:57.730062"], ["updated_at", "2016-04-04 18:07:57.730062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 18:07:57.731804"], ["updated_at", "2016-04-04 18:07:57.731804"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 18:07:57.785438"], ["updated_at", "2016-04-04 18:07:57.785438"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (5.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:08:12.588941"], ["updated_at", "2016-04-04 18:08:12.588941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.595045"], ["updated_at", "2016-04-04 18:08:12.595045"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.601423"], ["updated_at", "2016-04-04 18:08:12.601423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:08:12.605001"], ["updated_at", "2016-04-04 18:08:12.605001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.607027"], ["updated_at", "2016-04-04 18:08:12.607027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.608744"], ["updated_at", "2016-04-04 18:08:12.608744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.610086"], ["updated_at", "2016-04-04 18:08:12.610086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:08:12.611455"], ["updated_at", "2016-04-04 18:08:12.611455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:08:12.612617"], ["updated_at", "2016-04-04 18:08:12.612617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.9ms) rollback transaction  (0.2ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:08:12.625764"], ["updated_at", "2016-04-04 18:08:12.625764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.627534"], ["updated_at", "2016-04-04 18:08:12.627534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.631111"], ["updated_at", "2016-04-04 18:08:12.631111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:08:12.634308"], ["updated_at", "2016-04-04 18:08:12.634308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.635795"], ["updated_at", "2016-04-04 18:08:12.635795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.638540"], ["updated_at", "2016-04-04 18:08:12.638540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.641095"], ["updated_at", "2016-04-04 18:08:12.641095"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:08:12.643861"], ["updated_at", "2016-04-04 18:08:12.643861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:08:12.644888"], ["updated_at", "2016-04-04 18:08:12.644888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.7ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:08:12.681518"], ["updated_at", "2016-04-04 18:08:12.681518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.683003"], ["updated_at", "2016-04-04 18:08:12.683003"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.687407"], ["updated_at", "2016-04-04 18:08:12.687407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:08:12.690281"], ["updated_at", "2016-04-04 18:08:12.690281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.692710"], ["updated_at", "2016-04-04 18:08:12.692710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.695128"], ["updated_at", "2016-04-04 18:08:12.695128"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.696814"], ["updated_at", "2016-04-04 18:08:12.696814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:08:12.698405"], ["updated_at", "2016-04-04 18:08:12.698405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:08:12.699900"], ["updated_at", "2016-04-04 18:08:12.699900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:08:12.708858"], ["updated_at", "2016-04-04 18:08:12.708858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.711667"], ["updated_at", "2016-04-04 18:08:12.711667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.715331"], ["updated_at", "2016-04-04 18:08:12.715331"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:08:12.718886"], ["updated_at", "2016-04-04 18:08:12.718886"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.723140"], ["updated_at", "2016-04-04 18:08:12.723140"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.726974"], ["updated_at", "2016-04-04 18:08:12.726974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.729180"], ["updated_at", "2016-04-04 18:08:12.729180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:08:12.730764"], ["updated_at", "2016-04-04 18:08:12.730764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:08:12.731878"], ["updated_at", "2016-04-04 18:08:12.731878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:08:12.739897"], ["updated_at", "2016-04-04 18:08:12.739897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.742410"], ["updated_at", "2016-04-04 18:08:12.742410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.746543"], ["updated_at", "2016-04-04 18:08:12.746543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:08:12.748628"], ["updated_at", "2016-04-04 18:08:12.748628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.749668"], ["updated_at", "2016-04-04 18:08:12.749668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.751579"], ["updated_at", "2016-04-04 18:08:12.751579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.753938"], ["updated_at", "2016-04-04 18:08:12.753938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:08:12.756469"], ["updated_at", "2016-04-04 18:08:12.756469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:08:12.758891"], ["updated_at", "2016-04-04 18:08:12.758891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:08:12.766189"], ["updated_at", "2016-04-04 18:08:12.766189"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.768017"], ["updated_at", "2016-04-04 18:08:12.768017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:08:12.771330"], ["updated_at", "2016-04-04 18:08:12.771330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:08:12.775063"], ["updated_at", "2016-04-04 18:08:12.775063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.776783"], ["updated_at", "2016-04-04 18:08:12.776783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.779347"], ["updated_at", "2016-04-04 18:08:12.779347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:08:12.781822"], ["updated_at", "2016-04-04 18:08:12.781822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:08:12.783446"], ["updated_at", "2016-04-04 18:08:12.783446"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:08:12.784579"], ["updated_at", "2016-04-04 18:08:12.784579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (9.6ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 18:08:12.829032"], ["updated_at", "2016-04-04 18:08:12.829032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 18:08:12.831616"], ["updated_at", "2016-04-04 18:08:12.831616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 18:08:12.842956"], ["updated_at", "2016-04-04 18:08:12.842956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 18:08:12.900461"], ["updated_at", "2016-04-04 18:08:12.900461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (3.9ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:08:12.915252"], ["updated_at", "2016-04-04 18:08:12.915252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (5.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 18:08:12.917722"], ["updated_at", "2016-04-04 18:08:12.917722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.7ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:08:12.927680"], ["updated_at", "2016-04-04 18:08:12.927680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 18:08:12.929302"], ["updated_at", "2016-04-04 18:08:12.929302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 18:08:12.931312"], ["updated_at", "2016-04-04 18:08:12.931312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (2.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.3ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:08:12.944983"], ["updated_at", "2016-04-04 18:08:12.944983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 18:08:12.950936"], ["updated_at", "2016-04-04 18:08:12.950936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 18:08:12.956520"], ["updated_at", "2016-04-04 18:08:12.956520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 18:08:12.959800"], ["updated_at", "2016-04-04 18:08:12.959800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:08:12.963047"], ["updated_at", "2016-04-04 18:08:12.963047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 18:08:12.964683"], ["updated_at", "2016-04-04 18:08:12.964683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 18:08:12.966967"], ["updated_at", "2016-04-04 18:08:12.966967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 18:08:12.969634"], ["updated_at", "2016-04-04 18:08:12.969634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (3.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 18:08:13.010030"], ["updated_at", "2016-04-04 18:08:13.010030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 18:08:13.013832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 18:08:13.016906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 18:08:13.018931"], ["updated_at", "2016-04-04 18:08:13.018931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 18:08:13.022635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 18:08:13.026256"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 18:10:34.138474"], ["updated_at", "2016-04-04 18:10:34.138474"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 18:10:34.141948"], ["updated_at", "2016-04-04 18:10:34.141948"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 18:10:34.143818"], ["updated_at", "2016-04-04 18:10:34.143818"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 18:10:34.194402"], ["updated_at", "2016-04-04 18:10:34.194402"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Author Load (2.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:10:58.290414"], ["updated_at", "2016-04-04 18:10:58.290414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.294614"], ["updated_at", "2016-04-04 18:10:58.294614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.302982"], ["updated_at", "2016-04-04 18:10:58.302982"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:10:58.307253"], ["updated_at", "2016-04-04 18:10:58.307253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.308433"], ["updated_at", "2016-04-04 18:10:58.308433"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.310686"], ["updated_at", "2016-04-04 18:10:58.310686"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.312376"], ["updated_at", "2016-04-04 18:10:58.312376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:10:58.315336"], ["updated_at", "2016-04-04 18:10:58.315336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:10:58.316620"], ["updated_at", "2016-04-04 18:10:58.316620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:10:58.324395"], ["updated_at", "2016-04-04 18:10:58.324395"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.325686"], ["updated_at", "2016-04-04 18:10:58.325686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.329577"], ["updated_at", "2016-04-04 18:10:58.329577"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:10:58.332731"], ["updated_at", "2016-04-04 18:10:58.332731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.334821"], ["updated_at", "2016-04-04 18:10:58.334821"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.337388"], ["updated_at", "2016-04-04 18:10:58.337388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.340901"], ["updated_at", "2016-04-04 18:10:58.340901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:10:58.342713"], ["updated_at", "2016-04-04 18:10:58.342713"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:10:58.343568"], ["updated_at", "2016-04-04 18:10:58.343568"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:10:58.359292"], ["updated_at", "2016-04-04 18:10:58.359292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.360603"], ["updated_at", "2016-04-04 18:10:58.360603"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.364939"], ["updated_at", "2016-04-04 18:10:58.364939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:10:58.368340"], ["updated_at", "2016-04-04 18:10:58.368340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.370316"], ["updated_at", "2016-04-04 18:10:58.370316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.374025"], ["updated_at", "2016-04-04 18:10:58.374025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.375678"], ["updated_at", "2016-04-04 18:10:58.375678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:10:58.377191"], ["updated_at", "2016-04-04 18:10:58.377191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:10:58.378047"], ["updated_at", "2016-04-04 18:10:58.378047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:10:58.384544"], ["updated_at", "2016-04-04 18:10:58.384544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.385951"], ["updated_at", "2016-04-04 18:10:58.385951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.389036"], ["updated_at", "2016-04-04 18:10:58.389036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:10:58.391434"], ["updated_at", "2016-04-04 18:10:58.391434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.392540"], ["updated_at", "2016-04-04 18:10:58.392540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.394773"], ["updated_at", "2016-04-04 18:10:58.394773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.396272"], ["updated_at", "2016-04-04 18:10:58.396272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:10:58.398499"], ["updated_at", "2016-04-04 18:10:58.398499"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:10:58.399834"], ["updated_at", "2016-04-04 18:10:58.399834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (5.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:10:58.410526"], ["updated_at", "2016-04-04 18:10:58.410526"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.412140"], ["updated_at", "2016-04-04 18:10:58.412140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.414817"], ["updated_at", "2016-04-04 18:10:58.414817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:10:58.416718"], ["updated_at", "2016-04-04 18:10:58.416718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.417800"], ["updated_at", "2016-04-04 18:10:58.417800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.419210"], ["updated_at", "2016-04-04 18:10:58.419210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.421299"], ["updated_at", "2016-04-04 18:10:58.421299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:10:58.422953"], ["updated_at", "2016-04-04 18:10:58.422953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:10:58.423813"], ["updated_at", "2016-04-04 18:10:58.423813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.6ms) rollback transaction  (0.1ms) begin transaction Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:10:58.430318"], ["updated_at", "2016-04-04 18:10:58.430318"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.431810"], ["updated_at", "2016-04-04 18:10:58.431810"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:10:58.435308"], ["updated_at", "2016-04-04 18:10:58.435308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:10:58.438759"], ["updated_at", "2016-04-04 18:10:58.438759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.440012"], ["updated_at", "2016-04-04 18:10:58.440012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.441496"], ["updated_at", "2016-04-04 18:10:58.441496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:10:58.443012"], ["updated_at", "2016-04-04 18:10:58.443012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Chester"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Chester"], ["created_at", "2016-04-04 18:10:58.445006"], ["updated_at", "2016-04-04 18:10:58.445006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:10:58.445874"], ["updated_at", "2016-04-04 18:10:58.445874"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 3], ["created_at", "2016-04-04 18:10:58.479138"], ["updated_at", "2016-04-04 18:10:58.479138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 10], ["created_at", "2016-04-04 18:10:58.481434"], ["updated_at", "2016-04-04 18:10:58.481434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 1], ["created_at", "2016-04-04 18:10:58.482847"], ["updated_at", "2016-04-04 18:10:58.482847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.0ms) SELECT MAX(posts.likes) FROM "posts"  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES (?, ?, ?) [["likes", 2], ["created_at", "2016-04-04 18:10:58.496262"], ["updated_at", "2016-04-04 18:10:58.496262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:10:58.505740"], ["updated_at", "2016-04-04 18:10:58.505740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 18:10:58.507326"], ["updated_at", "2016-04-04 18:10:58.507326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:10:58.509798"], ["updated_at", "2016-04-04 18:10:58.509798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 18:10:58.510681"], ["updated_at", "2016-04-04 18:10:58.510681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 18:10:58.511737"], ["updated_at", "2016-04-04 18:10:58.511737"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.2ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Alice"], ["created_at", "2016-04-04 18:10:58.522728"], ["updated_at", "2016-04-04 18:10:58.522728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 18:10:58.525205"], ["updated_at", "2016-04-04 18:10:58.525205"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Alice"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 1], ["created_at", "2016-04-04 18:10:58.527644"], ["updated_at", "2016-04-04 18:10:58.527644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-04-04 18:10:58.528787"], ["updated_at", "2016-04-04 18:10:58.528787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Bob"], ["created_at", "2016-04-04 18:10:58.530692"], ["updated_at", "2016-04-04 18:10:58.530692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 18:10:58.531757"], ["updated_at", "2016-04-04 18:10:58.531757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 18:10:58.533456"], ["updated_at", "2016-04-04 18:10:58.533456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Bob"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES (?, ?, ?) [["author_id", 2], ["created_at", "2016-04-04 18:10:58.534827"], ["updated_at", "2016-04-04 18:10:58.534827"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.1ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.6ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Timmy"], ["created_at", "2016-04-04 18:10:58.556403"], ["updated_at", "2016-04-04 18:10:58.556403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 18:10:58.557656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 1], ["updated_at", "2016-04-04 18:10:58.560139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Tammy"], ["created_at", "2016-04-04 18:10:58.561656"], ["updated_at", "2016-04-04 18:10:58.561656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 18:10:58.562463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? LIMIT 1 [["name", "Tammy"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 2], ["updated_at", "2016-04-04 18:10:58.564996"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.1ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.6ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT DATETIME('2016-01-01 00:00:00.000000') AS min, DATETIME('2016-02-01 00:00:00.000000') AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-02-01 00:00:00.000000') AS min, DATETIME('2016-03-01 00:00:00.000000') AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT DATETIME('2016-03-01 00:00:00.000000') AS min, DATETIME('2016-04-01 00:00:00.000000') AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 18:14:34.434005"], ["updated_at", "2016-04-04 18:14:34.434005"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 18:14:34.438677"], ["updated_at", "2016-04-04 18:14:34.438677"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 18:14:34.440500"], ["updated_at", "2016-04-04 18:14:34.440500"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 18:14:34.487681"], ["updated_at", "2016-04-04 18:14:34.487681"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (1.1ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 18:15:15.109522"], ["updated_at", "2016-04-04 18:15:15.109522"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 18:15:15.112553"], ["updated_at", "2016-04-04 18:15:15.112553"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 18:15:15.114415"], ["updated_at", "2016-04-04 18:15:15.114415"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 18:15:15.127784"], ["updated_at", "2016-04-04 18:15:15.127784"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "authors" does not exist LINE 5: WHERE a.attrelid = '"authors"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"authors"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (2.6ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 18:22:43.216706"], ["updated_at", "2016-04-04 18:22:43.216706"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 1], ["created_at", "2016-04-04 18:22:43.222883"], ["updated_at", "2016-04-04 18:22:43.222883"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (2.6ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 1], ["created_at", "2016-04-04 18:22:43.232677"], ["updated_at", "2016-04-04 18:22:43.232677"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 18:22:43.236155"], ["updated_at", "2016-04-04 18:22:43.236155"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 2], ["created_at", "2016-04-04 18:22:43.237758"], ["updated_at", "2016-04-04 18:22:43.237758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 2], ["created_at", "2016-04-04 18:22:43.240587"], ["updated_at", "2016-04-04 18:22:43.240587"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 2], ["created_at", "2016-04-04 18:22:43.243406"], ["updated_at", "2016-04-04 18:22:43.243406"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 18:22:43.247324"], ["updated_at", "2016-04-04 18:22:43.247324"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 3], ["created_at", "2016-04-04 18:22:43.249062"], ["updated_at", "2016-04-04 18:22:43.249062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (6.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 18:22:43.288914"], ["updated_at", "2016-04-04 18:22:43.288914"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 4], ["created_at", "2016-04-04 18:22:43.290769"], ["updated_at", "2016-04-04 18:22:43.290769"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 4], ["created_at", "2016-04-04 18:22:43.293667"], ["updated_at", "2016-04-04 18:22:43.293667"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 18:22:43.296552"], ["updated_at", "2016-04-04 18:22:43.296552"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 5], ["created_at", "2016-04-04 18:22:43.299438"], ["updated_at", "2016-04-04 18:22:43.299438"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 5], ["created_at", "2016-04-04 18:22:43.301964"], ["updated_at", "2016-04-04 18:22:43.301964"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 5], ["created_at", "2016-04-04 18:22:43.304670"], ["updated_at", "2016-04-04 18:22:43.304670"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 18:22:43.307283"], ["updated_at", "2016-04-04 18:22:43.307283"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 6], ["created_at", "2016-04-04 18:22:43.309040"], ["updated_at", "2016-04-04 18:22:43.309040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.8ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 18:22:43.317823"], ["updated_at", "2016-04-04 18:22:43.317823"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 7], ["created_at", "2016-04-04 18:22:43.319557"], ["updated_at", "2016-04-04 18:22:43.319557"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 7], ["created_at", "2016-04-04 18:22:43.322881"], ["updated_at", "2016-04-04 18:22:43.322881"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 18:22:43.325467"], ["updated_at", "2016-04-04 18:22:43.325467"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 8], ["created_at", "2016-04-04 18:22:43.327242"], ["updated_at", "2016-04-04 18:22:43.327242"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 8], ["created_at", "2016-04-04 18:22:43.329647"], ["updated_at", "2016-04-04 18:22:43.329647"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 8], ["created_at", "2016-04-04 18:22:43.332593"], ["updated_at", "2016-04-04 18:22:43.332593"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 18:22:43.335056"], ["updated_at", "2016-04-04 18:22:43.335056"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 9], ["created_at", "2016-04-04 18:22:43.336586"], ["updated_at", "2016-04-04 18:22:43.336586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 18:22:43.343735"], ["updated_at", "2016-04-04 18:22:43.343735"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 10], ["created_at", "2016-04-04 18:22:43.345971"], ["updated_at", "2016-04-04 18:22:43.345971"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 10], ["created_at", "2016-04-04 18:22:43.348480"], ["updated_at", "2016-04-04 18:22:43.348480"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 18:22:43.351215"], ["updated_at", "2016-04-04 18:22:43.351215"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 11], ["created_at", "2016-04-04 18:22:43.352724"], ["updated_at", "2016-04-04 18:22:43.352724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 11], ["created_at", "2016-04-04 18:22:43.356215"], ["updated_at", "2016-04-04 18:22:43.356215"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 11], ["created_at", "2016-04-04 18:22:43.359794"], ["updated_at", "2016-04-04 18:22:43.359794"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 18:22:43.363293"], ["updated_at", "2016-04-04 18:22:43.363293"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 12], ["created_at", "2016-04-04 18:22:43.365586"], ["updated_at", "2016-04-04 18:22:43.365586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.6ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.7ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 18:22:43.380471"], ["updated_at", "2016-04-04 18:22:43.380471"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 13], ["created_at", "2016-04-04 18:22:43.388551"], ["updated_at", "2016-04-04 18:22:43.388551"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 13], ["created_at", "2016-04-04 18:22:43.392391"], ["updated_at", "2016-04-04 18:22:43.392391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 18:22:43.395702"], ["updated_at", "2016-04-04 18:22:43.395702"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 14], ["created_at", "2016-04-04 18:22:43.397545"], ["updated_at", "2016-04-04 18:22:43.397545"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 14], ["created_at", "2016-04-04 18:22:43.400093"], ["updated_at", "2016-04-04 18:22:43.400093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 14], ["created_at", "2016-04-04 18:22:43.402605"], ["updated_at", "2016-04-04 18:22:43.402605"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 18:22:43.405575"], ["updated_at", "2016-04-04 18:22:43.405575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 15], ["created_at", "2016-04-04 18:22:43.407489"], ["updated_at", "2016-04-04 18:22:43.407489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 18:22:43.415185"], ["updated_at", "2016-04-04 18:22:43.415185"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 16], ["created_at", "2016-04-04 18:22:43.416822"], ["updated_at", "2016-04-04 18:22:43.416822"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 16], ["created_at", "2016-04-04 18:22:43.419377"], ["updated_at", "2016-04-04 18:22:43.419377"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 18:22:43.423120"], ["updated_at", "2016-04-04 18:22:43.423120"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 17], ["created_at", "2016-04-04 18:22:43.425016"], ["updated_at", "2016-04-04 18:22:43.425016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 17], ["created_at", "2016-04-04 18:22:43.427444"], ["updated_at", "2016-04-04 18:22:43.427444"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 17], ["created_at", "2016-04-04 18:22:43.430692"], ["updated_at", "2016-04-04 18:22:43.430692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 18:22:43.433400"], ["updated_at", "2016-04-04 18:22:43.433400"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 18], ["created_at", "2016-04-04 18:22:43.435040"], ["updated_at", "2016-04-04 18:22:43.435040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 18:22:43.480781"], ["updated_at", "2016-04-04 18:22:43.480781"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 18:22:43.483114"], ["updated_at", "2016-04-04 18:22:43.483114"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 18:22:43.485480"], ["updated_at", "2016-04-04 18:22:43.485480"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 18:22:43.543986"], ["updated_at", "2016-04-04 18:22:43.543986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 18:22:43.550489"], ["updated_at", "2016-04-04 18:22:43.550489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 19], ["created_at", "2016-04-04 18:22:43.552388"], ["updated_at", "2016-04-04 18:22:43.552388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 18:22:43.555415"], ["updated_at", "2016-04-04 18:22:43.555415"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 20], ["created_at", "2016-04-04 18:22:43.557021"], ["updated_at", "2016-04-04 18:22:43.557021"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-04 18:22:43.558821"], ["updated_at", "2016-04-04 18:22:43.558821"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 18:22:43.567990"], ["updated_at", "2016-04-04 18:22:43.567990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 21], ["created_at", "2016-04-04 18:22:43.569726"], ["updated_at", "2016-04-04 18:22:43.569726"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 21], ["created_at", "2016-04-04 18:22:43.572360"], ["updated_at", "2016-04-04 18:22:43.572360"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-04 18:22:43.574082"], ["updated_at", "2016-04-04 18:22:43.574082"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 18:22:43.576845"], ["updated_at", "2016-04-04 18:22:43.576845"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 22], ["created_at", "2016-04-04 18:22:43.578462"], ["updated_at", "2016-04-04 18:22:43.578462"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 22], ["created_at", "2016-04-04 18:22:43.581100"], ["updated_at", "2016-04-04 18:22:43.581100"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 22], ["created_at", "2016-04-04 18:22:43.583885"], ["updated_at", "2016-04-04 18:22:43.583885"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-04 18:22:43.611453"], ["updated_at", "2016-04-04 18:22:43.611453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 23], ["updated_at", "2016-04-04 18:22:43.613201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 23], ["updated_at", "2016-04-04 18:22:43.616240"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-04 18:22:43.618878"], ["updated_at", "2016-04-04 18:22:43.618878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 24], ["updated_at", "2016-04-04 18:22:43.620377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 24], ["updated_at", "2016-04-04 18:22:43.623440"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.5ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (11.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (2.2ms) SAVEPOINT active_record_1 SQL (2.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 1, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (2.6ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 1, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 2, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 2, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 2, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 3, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.9ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 4, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 4, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 5, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 5, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 5, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 6, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.9ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.0ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 7, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 7, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 8, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 8, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 8, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 9, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 10, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 10, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 11, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 11, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 11, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 12, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.8ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 13, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 13, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 14, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 14, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 14, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 15, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 16, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 16, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 17, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 17, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 17, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 18, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (2.6ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (19, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (20, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (2.5ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (4.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (2.5ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.5ms) ROLLBACK  (0.5ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (21, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (21, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (22, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (22, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.4ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (22, '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (2.8ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 23, '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 23, '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:23:18', '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 24, '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 24, '2016-04-04 18:23:18')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (7.2ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 1, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 1, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 2, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 2, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 2, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 3, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 4, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 4, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 5, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 5, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 5, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 6, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 7, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 7, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 8, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 8, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 8, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 9, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 10, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 10, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 11, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 11, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 11, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 12, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (0.5ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 13, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 13, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 14, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 14, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 14, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 15, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 16, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 16, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 17, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 17, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 17, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 18, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (19, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (20, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (21, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (21, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (22, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (22, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (22, '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 23, '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 23, '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:43:53', '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 24, '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 24, '2016-04-04 18:43:53')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.7ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 25, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 25, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 26, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 26, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 26, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 27, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 28, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 28, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 29, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 29, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 29, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 30, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.8ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 31, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 31, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 32, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 32, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 32, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 33, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.0ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 34, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 34, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 35, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 35, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 35, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 36, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 37, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 37, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 38, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 38, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 38, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 39, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 40, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 40, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 41, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 41, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 41, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 42, '2016-04-04 18:48:59', '2016-04-04 18:48:59')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM `posts`  (0.5ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (43, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (44, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.4ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (45, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (45, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (46, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (46, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (46, '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 47, '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 47, '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:49:00', '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 48, '2016-04-04 18:49:00')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 48, '2016-04-04 18:49:00')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.3ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 49, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 49, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 50, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 50, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 50, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 51, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 52, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 52, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 53, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 53, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 53, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 54, '2016-04-04 18:50:29', '2016-04-04 18:50:29')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.9ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 55, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 55, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 56, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 56, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 56, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 57, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 58, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 58, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 59, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 59, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 59, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 60, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 61, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 61, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 62, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 62, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.4ms) RELEASE SAVEPOINT active_record_1 Author Load (0.7ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 62, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 63, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 64, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 64, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 65, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 65, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 65, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 66, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (67, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (68, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.7ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (69, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (69, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (70, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (70, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (70, '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 71, '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 71, '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:50:30', '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 72, '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 72, '2016-04-04 18:50:30')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.3ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.6ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 73, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 73, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 74, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 74, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 74, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 75, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 76, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 76, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 77, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 77, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 77, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 78, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.7ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 79, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 79, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 80, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 80, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 80, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 81, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 82, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 82, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 83, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 83, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 83, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 84, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 85, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 85, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 86, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 86, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 86, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 87, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (0.4ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 88, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 88, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 89, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 89, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 89, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 90, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (2.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (91, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (92, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.5ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (93, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (93, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (94, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (94, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (94, '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (4.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 95, '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 95, '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:50:55', '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 96, '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 96, '2016-04-04 18:50:55')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.7ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 97, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 97, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 98, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 98, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 98, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 99, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 100, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 100, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 101, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 101, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 101, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 102, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.0ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 103, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 103, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 104, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 104, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 104, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 105, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 106, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 106, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 107, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 107, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 107, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 108, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 109, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 109, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 110, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 110, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 110, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 111, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 112, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 112, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 113, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 113, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 113, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 114, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (4.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (115, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (116, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (117, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (117, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (118, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.5ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (118, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (118, '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 119, '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 119, '2016-04-04 18:51:31')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:51:31', '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 120, '2016-04-04 18:51:31')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 120, '2016-04-04 18:51:31')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.6ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 121, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 121, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 122, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 122, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 122, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 123, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 124, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 124, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 125, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 125, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 125, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 126, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.5ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 127, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 127, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 128, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 128, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 128, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 129, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 130, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 130, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 131, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 131, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 131, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 132, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 133, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 133, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 134, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 134, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 134, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 135, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.0ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 136, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 136, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 137, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 137, '2016-04-04 18:51:56', '2016-04-04 18:51:56')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 137, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 138, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (139, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (140, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.5ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (141, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (141, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (142, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (142, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (142, '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 143, '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 143, '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:51:57', '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 144, '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 144, '2016-04-04 18:51:57')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.5ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.7ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.3ms) BEGIN Author Load (0.5ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 145, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 145, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 146, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 146, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 146, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 147, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 148, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 148, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 149, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 149, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 149, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 150, '2016-04-04 18:52:24', '2016-04-04 18:52:24')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (3.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 151, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 151, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 152, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.5ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 152, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 152, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 153, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (1.9ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 154, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 154, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 155, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 155, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 155, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 156, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 157, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 157, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 158, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 158, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 158, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 159, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 160, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 160, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 161, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 161, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 161, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 162, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (163, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (164, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (165, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (165, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (166, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (166, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (166, '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 167, '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 167, '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:52:25', '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 168, '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 168, '2016-04-04 18:52:25')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.3ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.5ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 169, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 169, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 170, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 170, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 170, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 171, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 172, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 172, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 173, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 173, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 173, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 174, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 175, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 175, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 176, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 176, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 176, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.5ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 177, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 178, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 178, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 179, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 179, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 179, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 180, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 181, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 181, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 182, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 182, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 182, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 183, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.4ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 184, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 184, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 185, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 185, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 185, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 186, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:52:41', '2016-04-04 18:52:41')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.1ms) SELECT MAX(posts.likes) FROM `posts`  (2.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (2.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (187, '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (188, '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (189, '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (189, '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (190, '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (190, '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (190, '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 191, '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 191, '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:52:42', '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 192, '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 192, '2016-04-04 18:52:42')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.2ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.6ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 193, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 193, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 194, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 194, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 194, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 195, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 196, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 196, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 197, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 197, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 197, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 198, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 199, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.6ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 199, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 200, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.7ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 200, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 200, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 201, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 202, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 202, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 203, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 203, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 203, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 204, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 205, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 205, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 206, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 206, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 206, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 207, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 208, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 208, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 209, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 209, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.4ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 209, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 210, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT MIN(posts.likes) FROM `posts`  (0.3ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.1ms) SELECT MAX(posts.likes) FROM `posts`  (2.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (4.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (211, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (212, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.4ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (213, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (213, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (214, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (214, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (214, '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.0ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 215, '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 215, '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:52:52', '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 216, '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 216, '2016-04-04 18:52:52')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.3ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.9ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.5ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT `schema_migrations`.* FROM `schema_migrations` ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 217, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 217, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 218, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 218, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 218, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 219, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 220, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 220, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 221, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 221, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 221, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 222, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 223, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 223, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 224, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 224, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 224, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 225, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.0ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 226, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 226, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 227, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 227, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 227, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 228, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 229, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 229, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 230, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 230, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 230, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 231, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (3, 232, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (2, 232, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (4, 233, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (1, 233, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (5, 233, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Chester' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Chester', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `author_id`, `created_at`, `updated_at`) VALUES (10, 234, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (3, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (10, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (1, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM `posts`  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (4.8ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`likes`, `created_at`, `updated_at`) VALUES (2, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM `posts`  (4.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (235, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (236, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.2ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT `posts`.* FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (2.2ms) ROLLBACK  (0.4ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Alice', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (237, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Alice' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (237, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `updated_at`) VALUES ('2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Bob', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (238, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.4ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (238, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.7ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Bob' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`author_id`, `created_at`, `updated_at`) VALUES (238, '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (1.9ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM `posts` LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC   (2.1ms) ROLLBACK  (0.6ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Timmy', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-01 00:00:00', 239, '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Timmy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-12 00:00:00', 239, '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `authors` (`name`, `created_at`, `updated_at`) VALUES ('Tammy', '2016-04-04 18:53:47', '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-01-15 00:00:00', 240, '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT `authors`.* FROM `authors` WHERE `authors`.`name` = 'Tammy' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `posts` (`created_at`, `author_id`, `updated_at`) VALUES ('2016-03-01 00:00:00', 240, '2016-04-04 18:53:47')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.3ms) SELECT MAX(posts.created_at) FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id`  (0.8ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM `posts` INNER JOIN `authors` ON `authors`.`id` = `posts`.`author_id` INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS max, '2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS max, '2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS DATETIME) AS min, CAST('2016-04-01 00:00:00.000000' AS DATETIME) AS max, '2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC  (2.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (2.9ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 19:11:41.369332"], ["updated_at", "2016-04-04 19:11:41.369332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 25], ["created_at", "2016-04-04 19:11:41.371849"], ["updated_at", "2016-04-04 19:11:41.371849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 25], ["created_at", "2016-04-04 19:11:41.374813"], ["updated_at", "2016-04-04 19:11:41.374813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 19:11:41.376993"], ["updated_at", "2016-04-04 19:11:41.376993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 26], ["created_at", "2016-04-04 19:11:41.378832"], ["updated_at", "2016-04-04 19:11:41.378832"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 26], ["created_at", "2016-04-04 19:11:41.381292"], ["updated_at", "2016-04-04 19:11:41.381292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 26], ["created_at", "2016-04-04 19:11:41.383689"], ["updated_at", "2016-04-04 19:11:41.383689"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 19:11:41.386215"], ["updated_at", "2016-04-04 19:11:41.386215"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 27], ["created_at", "2016-04-04 19:11:41.387783"], ["updated_at", "2016-04-04 19:11:41.387783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.6ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 19:11:41.421117"], ["updated_at", "2016-04-04 19:11:41.421117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 28], ["created_at", "2016-04-04 19:11:41.422700"], ["updated_at", "2016-04-04 19:11:41.422700"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 28], ["created_at", "2016-04-04 19:11:41.426156"], ["updated_at", "2016-04-04 19:11:41.426156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 19:11:41.429001"], ["updated_at", "2016-04-04 19:11:41.429001"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 29], ["created_at", "2016-04-04 19:11:41.430984"], ["updated_at", "2016-04-04 19:11:41.430984"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 29], ["created_at", "2016-04-04 19:11:41.433848"], ["updated_at", "2016-04-04 19:11:41.433848"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 29], ["created_at", "2016-04-04 19:11:41.436611"], ["updated_at", "2016-04-04 19:11:41.436611"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 19:11:41.439986"], ["updated_at", "2016-04-04 19:11:41.439986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 30], ["created_at", "2016-04-04 19:11:41.441902"], ["updated_at", "2016-04-04 19:11:41.441902"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 19:11:41.447149"], ["updated_at", "2016-04-04 19:11:41.447149"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 31], ["created_at", "2016-04-04 19:11:41.448861"], ["updated_at", "2016-04-04 19:11:41.448861"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 31], ["created_at", "2016-04-04 19:11:41.451652"], ["updated_at", "2016-04-04 19:11:41.451652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 19:11:41.454583"], ["updated_at", "2016-04-04 19:11:41.454583"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 32], ["created_at", "2016-04-04 19:11:41.456139"], ["updated_at", "2016-04-04 19:11:41.456139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 32], ["created_at", "2016-04-04 19:11:41.459138"], ["updated_at", "2016-04-04 19:11:41.459138"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 32], ["created_at", "2016-04-04 19:11:41.462754"], ["updated_at", "2016-04-04 19:11:41.462754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 19:11:41.465821"], ["updated_at", "2016-04-04 19:11:41.465821"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 33], ["created_at", "2016-04-04 19:11:41.467396"], ["updated_at", "2016-04-04 19:11:41.467396"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 19:11:41.472522"], ["updated_at", "2016-04-04 19:11:41.472522"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 34], ["created_at", "2016-04-04 19:11:41.474178"], ["updated_at", "2016-04-04 19:11:41.474178"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 34], ["created_at", "2016-04-04 19:11:41.476919"], ["updated_at", "2016-04-04 19:11:41.476919"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 19:11:41.479526"], ["updated_at", "2016-04-04 19:11:41.479526"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 35], ["created_at", "2016-04-04 19:11:41.481121"], ["updated_at", "2016-04-04 19:11:41.481121"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 35], ["created_at", "2016-04-04 19:11:41.483752"], ["updated_at", "2016-04-04 19:11:41.483752"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 35], ["created_at", "2016-04-04 19:11:41.486183"], ["updated_at", "2016-04-04 19:11:41.486183"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 19:11:41.488909"], ["updated_at", "2016-04-04 19:11:41.488909"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 36], ["created_at", "2016-04-04 19:11:41.490409"], ["updated_at", "2016-04-04 19:11:41.490409"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 19:11:41.495779"], ["updated_at", "2016-04-04 19:11:41.495779"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 37], ["created_at", "2016-04-04 19:11:41.497449"], ["updated_at", "2016-04-04 19:11:41.497449"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 37], ["created_at", "2016-04-04 19:11:41.505804"], ["updated_at", "2016-04-04 19:11:41.505804"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 19:11:41.510386"], ["updated_at", "2016-04-04 19:11:41.510386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 38], ["created_at", "2016-04-04 19:11:41.512123"], ["updated_at", "2016-04-04 19:11:41.512123"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 38], ["created_at", "2016-04-04 19:11:41.514820"], ["updated_at", "2016-04-04 19:11:41.514820"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 38], ["created_at", "2016-04-04 19:11:41.517408"], ["updated_at", "2016-04-04 19:11:41.517408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 19:11:41.521070"], ["updated_at", "2016-04-04 19:11:41.521070"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 39], ["created_at", "2016-04-04 19:11:41.522904"], ["updated_at", "2016-04-04 19:11:41.522904"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 19:11:41.528486"], ["updated_at", "2016-04-04 19:11:41.528486"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 40], ["created_at", "2016-04-04 19:11:41.530234"], ["updated_at", "2016-04-04 19:11:41.530234"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 40], ["created_at", "2016-04-04 19:11:41.532760"], ["updated_at", "2016-04-04 19:11:41.532760"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 19:11:41.535344"], ["updated_at", "2016-04-04 19:11:41.535344"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 41], ["created_at", "2016-04-04 19:11:41.536914"], ["updated_at", "2016-04-04 19:11:41.536914"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 41], ["created_at", "2016-04-04 19:11:41.539277"], ["updated_at", "2016-04-04 19:11:41.539277"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 41], ["created_at", "2016-04-04 19:11:41.542208"], ["updated_at", "2016-04-04 19:11:41.542208"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 19:11:41.544826"], ["updated_at", "2016-04-04 19:11:41.544826"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 42], ["created_at", "2016-04-04 19:11:41.546693"], ["updated_at", "2016-04-04 19:11:41.546693"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 19:11:41.593760"], ["updated_at", "2016-04-04 19:11:41.593760"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 19:11:41.595928"], ["updated_at", "2016-04-04 19:11:41.595928"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 19:11:41.597935"], ["updated_at", "2016-04-04 19:11:41.597935"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 19:11:41.648304"], ["updated_at", "2016-04-04 19:11:41.648304"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 19:11:41.654834"], ["updated_at", "2016-04-04 19:11:41.654834"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 43], ["created_at", "2016-04-04 19:11:41.656559"], ["updated_at", "2016-04-04 19:11:41.656559"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 19:11:41.659413"], ["updated_at", "2016-04-04 19:11:41.659413"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 44], ["created_at", "2016-04-04 19:11:41.661248"], ["updated_at", "2016-04-04 19:11:41.661248"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-04 19:11:41.663319"], ["updated_at", "2016-04-04 19:11:41.663319"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 19:11:41.673396"], ["updated_at", "2016-04-04 19:11:41.673396"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 45], ["created_at", "2016-04-04 19:11:41.675270"], ["updated_at", "2016-04-04 19:11:41.675270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 45], ["created_at", "2016-04-04 19:11:41.677866"], ["updated_at", "2016-04-04 19:11:41.677866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-04 19:11:41.680156"], ["updated_at", "2016-04-04 19:11:41.680156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 19:11:41.683888"], ["updated_at", "2016-04-04 19:11:41.683888"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 46], ["created_at", "2016-04-04 19:11:41.685793"], ["updated_at", "2016-04-04 19:11:41.685793"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 46], ["created_at", "2016-04-04 19:11:41.688227"], ["updated_at", "2016-04-04 19:11:41.688227"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 46], ["created_at", "2016-04-04 19:11:41.690682"], ["updated_at", "2016-04-04 19:11:41.690682"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-04 19:11:41.719266"], ["updated_at", "2016-04-04 19:11:41.719266"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 47], ["updated_at", "2016-04-04 19:11:41.721012"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 47], ["updated_at", "2016-04-04 19:11:41.723693"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-04 19:11:41.726551"], ["updated_at", "2016-04-04 19:11:41.726551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 48], ["updated_at", "2016-04-04 19:11:41.728123"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 48], ["updated_at", "2016-04-04 19:11:41.731493"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.5ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Author Load (2.9ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 21:49:08.770863"], ["updated_at", "2016-04-04 21:49:08.770863"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 49], ["created_at", "2016-04-04 21:49:08.778009"], ["updated_at", "2016-04-04 21:49:08.778009"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 49], ["created_at", "2016-04-04 21:49:08.783843"], ["updated_at", "2016-04-04 21:49:08.783843"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 21:49:08.786856"], ["updated_at", "2016-04-04 21:49:08.786856"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 50], ["created_at", "2016-04-04 21:49:08.788920"], ["updated_at", "2016-04-04 21:49:08.788920"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 50], ["created_at", "2016-04-04 21:49:08.791431"], ["updated_at", "2016-04-04 21:49:08.791431"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 50], ["created_at", "2016-04-04 21:49:08.793869"], ["updated_at", "2016-04-04 21:49:08.793869"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 21:49:08.796409"], ["updated_at", "2016-04-04 21:49:08.796409"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 51], ["created_at", "2016-04-04 21:49:08.798010"], ["updated_at", "2016-04-04 21:49:08.798010"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 21:49:08.831938"], ["updated_at", "2016-04-04 21:49:08.831938"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 52], ["created_at", "2016-04-04 21:49:08.834356"], ["updated_at", "2016-04-04 21:49:08.834356"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 52], ["created_at", "2016-04-04 21:49:08.836842"], ["updated_at", "2016-04-04 21:49:08.836842"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 21:49:08.839901"], ["updated_at", "2016-04-04 21:49:08.839901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 53], ["created_at", "2016-04-04 21:49:08.841660"], ["updated_at", "2016-04-04 21:49:08.841660"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 53], ["created_at", "2016-04-04 21:49:08.844135"], ["updated_at", "2016-04-04 21:49:08.844135"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 53], ["created_at", "2016-04-04 21:49:08.846790"], ["updated_at", "2016-04-04 21:49:08.846790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 21:49:08.849275"], ["updated_at", "2016-04-04 21:49:08.849275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 54], ["created_at", "2016-04-04 21:49:08.850804"], ["updated_at", "2016-04-04 21:49:08.850804"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 21:49:08.856025"], ["updated_at", "2016-04-04 21:49:08.856025"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 55], ["created_at", "2016-04-04 21:49:08.857939"], ["updated_at", "2016-04-04 21:49:08.857939"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 55], ["created_at", "2016-04-04 21:49:08.860490"], ["updated_at", "2016-04-04 21:49:08.860490"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 21:49:08.863062"], ["updated_at", "2016-04-04 21:49:08.863062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 56], ["created_at", "2016-04-04 21:49:08.865243"], ["updated_at", "2016-04-04 21:49:08.865243"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 56], ["created_at", "2016-04-04 21:49:08.867981"], ["updated_at", "2016-04-04 21:49:08.867981"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 56], ["created_at", "2016-04-04 21:49:08.870477"], ["updated_at", "2016-04-04 21:49:08.870477"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 21:49:08.873024"], ["updated_at", "2016-04-04 21:49:08.873024"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 57], ["created_at", "2016-04-04 21:49:08.874652"], ["updated_at", "2016-04-04 21:49:08.874652"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 21:49:08.879578"], ["updated_at", "2016-04-04 21:49:08.879578"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 58], ["created_at", "2016-04-04 21:49:08.881468"], ["updated_at", "2016-04-04 21:49:08.881468"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 58], ["created_at", "2016-04-04 21:49:08.883924"], ["updated_at", "2016-04-04 21:49:08.883924"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 21:49:08.886536"], ["updated_at", "2016-04-04 21:49:08.886536"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 59], ["created_at", "2016-04-04 21:49:08.888233"], ["updated_at", "2016-04-04 21:49:08.888233"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 59], ["created_at", "2016-04-04 21:49:08.890670"], ["updated_at", "2016-04-04 21:49:08.890670"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 59], ["created_at", "2016-04-04 21:49:08.893127"], ["updated_at", "2016-04-04 21:49:08.893127"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 21:49:08.895567"], ["updated_at", "2016-04-04 21:49:08.895567"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 60], ["created_at", "2016-04-04 21:49:08.897105"], ["updated_at", "2016-04-04 21:49:08.897105"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 21:49:08.905788"], ["updated_at", "2016-04-04 21:49:08.905788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 61], ["created_at", "2016-04-04 21:49:08.907638"], ["updated_at", "2016-04-04 21:49:08.907638"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 61], ["created_at", "2016-04-04 21:49:08.910458"], ["updated_at", "2016-04-04 21:49:08.910458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 21:49:08.913494"], ["updated_at", "2016-04-04 21:49:08.913494"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 62], ["created_at", "2016-04-04 21:49:08.915201"], ["updated_at", "2016-04-04 21:49:08.915201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 62], ["created_at", "2016-04-04 21:49:08.917724"], ["updated_at", "2016-04-04 21:49:08.917724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 62], ["created_at", "2016-04-04 21:49:08.920103"], ["updated_at", "2016-04-04 21:49:08.920103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 21:49:08.923072"], ["updated_at", "2016-04-04 21:49:08.923072"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 63], ["created_at", "2016-04-04 21:49:08.924911"], ["updated_at", "2016-04-04 21:49:08.924911"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 21:49:08.929873"], ["updated_at", "2016-04-04 21:49:08.929873"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 64], ["created_at", "2016-04-04 21:49:08.931521"], ["updated_at", "2016-04-04 21:49:08.931521"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 64], ["created_at", "2016-04-04 21:49:08.933994"], ["updated_at", "2016-04-04 21:49:08.933994"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 21:49:08.936363"], ["updated_at", "2016-04-04 21:49:08.936363"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 65], ["created_at", "2016-04-04 21:49:08.937984"], ["updated_at", "2016-04-04 21:49:08.937984"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 65], ["created_at", "2016-04-04 21:49:08.940757"], ["updated_at", "2016-04-04 21:49:08.940757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 65], ["created_at", "2016-04-04 21:49:08.943076"], ["updated_at", "2016-04-04 21:49:08.943076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-04 21:49:08.945353"], ["updated_at", "2016-04-04 21:49:08.945353"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 66], ["created_at", "2016-04-04 21:49:08.946772"], ["updated_at", "2016-04-04 21:49:08.946772"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-04 21:49:09.000506"], ["updated_at", "2016-04-04 21:49:09.000506"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-04 21:49:09.002980"], ["updated_at", "2016-04-04 21:49:09.002980"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-04 21:49:09.005341"], ["updated_at", "2016-04-04 21:49:09.005341"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-04 21:49:09.057711"], ["updated_at", "2016-04-04 21:49:09.057711"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 21:49:09.063988"], ["updated_at", "2016-04-04 21:49:09.063988"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 67], ["created_at", "2016-04-04 21:49:09.065585"], ["updated_at", "2016-04-04 21:49:09.065585"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 21:49:09.068452"], ["updated_at", "2016-04-04 21:49:09.068452"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 68], ["created_at", "2016-04-04 21:49:09.069837"], ["updated_at", "2016-04-04 21:49:09.069837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-04 21:49:09.071414"], ["updated_at", "2016-04-04 21:49:09.071414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-04 21:49:09.079568"], ["updated_at", "2016-04-04 21:49:09.079568"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 69], ["created_at", "2016-04-04 21:49:09.081099"], ["updated_at", "2016-04-04 21:49:09.081099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 69], ["created_at", "2016-04-04 21:49:09.083293"], ["updated_at", "2016-04-04 21:49:09.083293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-04 21:49:09.085010"], ["updated_at", "2016-04-04 21:49:09.085010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-04 21:49:09.087177"], ["updated_at", "2016-04-04 21:49:09.087177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 70], ["created_at", "2016-04-04 21:49:09.088729"], ["updated_at", "2016-04-04 21:49:09.088729"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 70], ["created_at", "2016-04-04 21:49:09.091816"], ["updated_at", "2016-04-04 21:49:09.091816"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 70], ["created_at", "2016-04-04 21:49:09.094109"], ["updated_at", "2016-04-04 21:49:09.094109"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-04 21:49:09.119580"], ["updated_at", "2016-04-04 21:49:09.119580"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 71], ["updated_at", "2016-04-04 21:49:09.121241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 71], ["updated_at", "2016-04-04 21:49:09.124696"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-04 21:49:09.128220"], ["updated_at", "2016-04-04 21:49:09.128220"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 72], ["updated_at", "2016-04-04 21:49:09.130504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 72], ["updated_at", "2016-04-04 21:49:09.134165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.2ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (3.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 SQL (14.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:39.769237"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:39.799523"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:50:39.805106"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:39.807429"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (2.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:56.708936"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:56.717102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:50:56.719034"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:50:56.721465"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.534690"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.543011"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:52:06.545676"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.547488"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.554157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.556461"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:52:06.558329"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:52:06.560280"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.860363"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.867503"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:56:21.869515"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.871388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.878183"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.880177"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:56:21.882158"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.883962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.910100"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.912456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:56:21.914241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:56:21.916003"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (15.0ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (17.6ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.223770"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.230444"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 SQL (10.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:58:09.233228"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.246153"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.253610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.255691"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:58:09.258065"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.260379"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.284465"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.286805"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "Title 2"], ["updated_at", "2016-04-05 13:58:09.288728"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "Title 1"], ["updated_at", "2016-04-05 13:58:09.290658"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.9ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.921748"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.929159"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:20.931270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.933092"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.940724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.942910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:20.944986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.946769"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "posts"  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.971426"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.975224"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:20.977196"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:20.979525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (2.6ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.5ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.526138"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.535090"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:51.537176"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.540106"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.548882"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.550776"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:51.552606"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.554623"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.579757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.582159"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:51.584051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:51.586230"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.7ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Author Load (3.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (3.0ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:57.894532"], ["updated_at", "2016-04-05 14:00:57.894532"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 73], ["created_at", "2016-04-05 14:00:57.899946"], ["updated_at", "2016-04-05 14:00:57.899946"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 73], ["created_at", "2016-04-05 14:00:57.903216"], ["updated_at", "2016-04-05 14:00:57.903216"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:57.905920"], ["updated_at", "2016-04-05 14:00:57.905920"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 74], ["created_at", "2016-04-05 14:00:57.908144"], ["updated_at", "2016-04-05 14:00:57.908144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 74], ["created_at", "2016-04-05 14:00:57.911264"], ["updated_at", "2016-04-05 14:00:57.911264"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 74], ["created_at", "2016-04-05 14:00:57.914154"], ["updated_at", "2016-04-05 14:00:57.914154"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:57.916875"], ["updated_at", "2016-04-05 14:00:57.916875"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 75], ["created_at", "2016-04-05 14:00:57.918399"], ["updated_at", "2016-04-05 14:00:57.918399"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (3.7ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (3.0ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:57.941613"], ["updated_at", "2016-04-05 14:00:57.941613"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 76], ["created_at", "2016-04-05 14:00:57.943428"], ["updated_at", "2016-04-05 14:00:57.943428"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 76], ["created_at", "2016-04-05 14:00:57.945931"], ["updated_at", "2016-04-05 14:00:57.945931"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:57.948460"], ["updated_at", "2016-04-05 14:00:57.948460"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 77], ["created_at", "2016-04-05 14:00:57.950517"], ["updated_at", "2016-04-05 14:00:57.950517"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 77], ["created_at", "2016-04-05 14:00:57.953059"], ["updated_at", "2016-04-05 14:00:57.953059"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 77], ["created_at", "2016-04-05 14:00:57.955550"], ["updated_at", "2016-04-05 14:00:57.955550"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:57.958731"], ["updated_at", "2016-04-05 14:00:57.958731"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 78], ["created_at", "2016-04-05 14:00:57.960307"], ["updated_at", "2016-04-05 14:00:57.960307"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:57.965420"], ["updated_at", "2016-04-05 14:00:57.965420"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 79], ["created_at", "2016-04-05 14:00:57.967392"], ["updated_at", "2016-04-05 14:00:57.967392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 79], ["created_at", "2016-04-05 14:00:57.969813"], ["updated_at", "2016-04-05 14:00:57.969813"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:57.972249"], ["updated_at", "2016-04-05 14:00:57.972249"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 80], ["created_at", "2016-04-05 14:00:57.975279"], ["updated_at", "2016-04-05 14:00:57.975279"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 80], ["created_at", "2016-04-05 14:00:57.977761"], ["updated_at", "2016-04-05 14:00:57.977761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 80], ["created_at", "2016-04-05 14:00:57.980247"], ["updated_at", "2016-04-05 14:00:57.980247"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:57.983083"], ["updated_at", "2016-04-05 14:00:57.983083"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 81], ["created_at", "2016-04-05 14:00:57.984719"], ["updated_at", "2016-04-05 14:00:57.984719"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:57.990722"], ["updated_at", "2016-04-05 14:00:57.990722"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 82], ["created_at", "2016-04-05 14:00:57.992450"], ["updated_at", "2016-04-05 14:00:57.992450"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 82], ["created_at", "2016-04-05 14:00:57.994852"], ["updated_at", "2016-04-05 14:00:57.994852"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:57.997915"], ["updated_at", "2016-04-05 14:00:57.997915"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 83], ["created_at", "2016-04-05 14:00:58.000148"], ["updated_at", "2016-04-05 14:00:58.000148"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 83], ["created_at", "2016-04-05 14:00:58.003377"], ["updated_at", "2016-04-05 14:00:58.003377"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 83], ["created_at", "2016-04-05 14:00:58.005893"], ["updated_at", "2016-04-05 14:00:58.005893"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:58.009299"], ["updated_at", "2016-04-05 14:00:58.009299"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 84], ["created_at", "2016-04-05 14:00:58.010902"], ["updated_at", "2016-04-05 14:00:58.010902"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:58.024432"], ["updated_at", "2016-04-05 14:00:58.024432"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 85], ["created_at", "2016-04-05 14:00:58.026517"], ["updated_at", "2016-04-05 14:00:58.026517"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 85], ["created_at", "2016-04-05 14:00:58.028941"], ["updated_at", "2016-04-05 14:00:58.028941"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:58.032763"], ["updated_at", "2016-04-05 14:00:58.032763"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 86], ["created_at", "2016-04-05 14:00:58.034258"], ["updated_at", "2016-04-05 14:00:58.034258"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 86], ["created_at", "2016-04-05 14:00:58.036808"], ["updated_at", "2016-04-05 14:00:58.036808"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 86], ["created_at", "2016-04-05 14:00:58.039487"], ["updated_at", "2016-04-05 14:00:58.039487"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:58.042957"], ["updated_at", "2016-04-05 14:00:58.042957"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 87], ["created_at", "2016-04-05 14:00:58.044554"], ["updated_at", "2016-04-05 14:00:58.044554"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.8ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:58.052475"], ["updated_at", "2016-04-05 14:00:58.052475"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 88], ["created_at", "2016-04-05 14:00:58.054217"], ["updated_at", "2016-04-05 14:00:58.054217"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 88], ["created_at", "2016-04-05 14:00:58.057797"], ["updated_at", "2016-04-05 14:00:58.057797"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:58.061357"], ["updated_at", "2016-04-05 14:00:58.061357"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 89], ["created_at", "2016-04-05 14:00:58.063165"], ["updated_at", "2016-04-05 14:00:58.063165"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 89], ["created_at", "2016-04-05 14:00:58.066206"], ["updated_at", "2016-04-05 14:00:58.066206"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 89], ["created_at", "2016-04-05 14:00:58.068614"], ["updated_at", "2016-04-05 14:00:58.068614"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-05 14:00:58.071534"], ["updated_at", "2016-04-05 14:00:58.071534"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 90], ["created_at", "2016-04-05 14:00:58.074622"], ["updated_at", "2016-04-05 14:00:58.074622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.9ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-05 14:00:58.132073"], ["updated_at", "2016-04-05 14:00:58.132073"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-05 14:00:58.134307"], ["updated_at", "2016-04-05 14:00:58.134307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-05 14:00:58.136463"], ["updated_at", "2016-04-05 14:00:58.136463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-05 14:00:58.193930"], ["updated_at", "2016-04-05 14:00:58.193930"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (2.0ms) BEGIN Author Load (5.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:58.217851"], ["updated_at", "2016-04-05 14:00:58.217851"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 91], ["created_at", "2016-04-05 14:00:58.219827"], ["updated_at", "2016-04-05 14:00:58.219827"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:58.222693"], ["updated_at", "2016-04-05 14:00:58.222693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 92], ["created_at", "2016-04-05 14:00:58.224724"], ["updated_at", "2016-04-05 14:00:58.224724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-05 14:00:58.230712"], ["updated_at", "2016-04-05 14:00:58.230712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-05 14:00:58.244145"], ["updated_at", "2016-04-05 14:00:58.244145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 93], ["created_at", "2016-04-05 14:00:58.245960"], ["updated_at", "2016-04-05 14:00:58.245960"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 93], ["created_at", "2016-04-05 14:00:58.249051"], ["updated_at", "2016-04-05 14:00:58.249051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-05 14:00:58.250923"], ["updated_at", "2016-04-05 14:00:58.250923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-05 14:00:58.253483"], ["updated_at", "2016-04-05 14:00:58.253483"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 94], ["created_at", "2016-04-05 14:00:58.255004"], ["updated_at", "2016-04-05 14:00:58.255004"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 94], ["created_at", "2016-04-05 14:00:58.259920"], ["updated_at", "2016-04-05 14:00:58.259920"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 94], ["created_at", "2016-04-05 14:00:58.263227"], ["updated_at", "2016-04-05 14:00:58.263227"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-05 14:00:58.294633"], ["updated_at", "2016-04-05 14:00:58.294633"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 95], ["updated_at", "2016-04-05 14:00:58.298876"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 95], ["updated_at", "2016-04-05 14:00:58.302489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-05 14:00:58.305558"], ["updated_at", "2016-04-05 14:00:58.305558"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 96], ["updated_at", "2016-04-05 14:00:58.308285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.7ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (1.7ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 96], ["updated_at", "2016-04-05 14:00:58.341854"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.3ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (3.4ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.405358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.409611"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:58.411708"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.414199"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.418623"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.420815"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:58.422949"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.426478"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.436231"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.438706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:00:58.444284"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:00:58.446226"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.422524"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.432994"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:01.435396"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.437623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.447317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.449626"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:01.451398"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.453601"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.457219"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.462857"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:01.465386"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.467141"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.470639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.472523"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:01.474944"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:01.476893"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.891593"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.899650"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:15.901704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.903537"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.911711"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.913929"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:15.915767"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.917572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.921065"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.922987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:15.925506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.927358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.930646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.932391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:09:15.934497"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:09:15.936450"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.123990"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.131689"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:13.133985"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.135773"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.145223"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.147826"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:13.150527"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.152364"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.157166"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.159033"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:13.160805"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.163200"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.167003"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.169182"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:13.171311"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:13.173597"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.163444"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.175001"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:39.176932"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.178701"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.188999"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.191544"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:39.193639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.195380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (11.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.198730"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.216467"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:10:39.218790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:10:39.220887"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.170743"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.178696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:16.181354"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.183466"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.193979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.226093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:16.228656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.230266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.9ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.305783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.307693"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:16.310888"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:16.313765"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.010388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.017253"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:53.019046"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.021981"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.031505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.033481"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:53.035239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.037259"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.3ms) SELECT _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 1.1 AS max, CAST('1.0,1.1' AS text) AS bin_text UNION SELECT 1.1 AS min, 1.2000000000000002 AS max, CAST('1.1,1.2000000000000002' AS text) AS bin_text UNION SELECT 1.2000000000000002 AS min, 1.3000000000000003 AS max, CAST('1.2000000000000002,1.3000000000000003' AS text) AS bin_text UNION SELECT 1.3000000000000003 AS min, 1.4000000000000004 AS max, CAST('1.3000000000000003,1.4000000000000004' AS text) AS bin_text UNION SELECT 1.4000000000000004 AS min, 1.5000000000000004 AS max, CAST('1.4000000000000004,1.5000000000000004' AS text) AS bin_text UNION SELECT 1.5000000000000004 AS min, 1.6000000000000005 AS max, CAST('1.5000000000000004,1.6000000000000005' AS text) AS bin_text UNION SELECT 1.6000000000000005 AS min, 1.7000000000000006 AS max, CAST('1.6000000000000005,1.7000000000000006' AS text) AS bin_text UNION SELECT 1.7000000000000006 AS min, 1.8000000000000007 AS max, CAST('1.7000000000000006,1.8000000000000007' AS text) AS bin_text UNION SELECT 1.8000000000000007 AS min, 1.9000000000000008 AS max, CAST('1.8000000000000007,1.9000000000000008' AS text) AS bin_text UNION SELECT 1.9000000000000008 AS min, 2.000000000000001 AS max, CAST('1.9000000000000008,2.000000000000001' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.116102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.118089"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:12:53.120056"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:12:53.121758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.740049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.749279"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:13:22.751120"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.753058"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.761290"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.763273"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:13:22.765742"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.767550"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.8ms) SELECT _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.849355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.851270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:13:22.853160"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:13:22.854891"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.912100"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.923212"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:26.925198"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.926933"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.935977"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.939237"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:26.941213"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:26.942999"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.5ms) SELECT _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:27.022948"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:27.024862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:27.026908"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:27.028943"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.039896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.047587"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:48.049510"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.051241"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.060570"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.062467"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:48.064380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.066367"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.093588"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.095983"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:17:48.097942"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:17:48.099987"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.433012"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.440574"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:18:58.442373"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.447237"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.456426"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.458389"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:18:58.460194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.462287"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.5ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.487586"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.490079"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:18:58.492072"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:18:58.493827"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:09.983901"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:09.988611"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:19:09.990750"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:19:09.992547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:09.999008"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.001073"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:19:10.003088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.004930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.2ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.017314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.019335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:19:10.021221"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:19:10.023088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (1.0ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.384152"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.392356"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:23:12.394400"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.396287"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.404779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.406983"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:23:12.408839"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.410913"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (2.2ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.441536"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.443587"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:23:12.445420"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:23:12.447265"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.2ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.520259"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.528319"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:29:29.530239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.532026"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.541550"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.543560"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:29:29.545560"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.547405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.4ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.576013"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.577917"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:29:29.579810"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:29:29.581599"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (1.6ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.530313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.538355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:39:48.540309"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.542283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.553078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.555304"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:39:48.557161"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.559032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.6ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.584814"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.587485"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:39:48.591032"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:39:48.592904"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (5.6ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.695429"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.708383"]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:42:04.711375"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.713404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.721639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.723776"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:42:04.725749"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.727906"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (1.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.758073"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.759983"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-05 14:42:04.761732"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-05 14:42:04.763799"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST ActiveRecord::SchemaMigration Load (3.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) BEGIN Author Load (6.9ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (2.5ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:52:14.089494"], ["updated_at", "2016-04-09 11:52:14.089494"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 97], ["created_at", "2016-04-09 11:52:14.098255"], ["updated_at", "2016-04-09 11:52:14.098255"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 97], ["created_at", "2016-04-09 11:52:14.107930"], ["updated_at", "2016-04-09 11:52:14.107930"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:52:14.112822"], ["updated_at", "2016-04-09 11:52:14.112822"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 98], ["created_at", "2016-04-09 11:52:14.116206"], ["updated_at", "2016-04-09 11:52:14.116206"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 98], ["created_at", "2016-04-09 11:52:14.121209"], ["updated_at", "2016-04-09 11:52:14.121209"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 98], ["created_at", "2016-04-09 11:52:14.125856"], ["updated_at", "2016-04-09 11:52:14.125856"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:52:14.130723"], ["updated_at", "2016-04-09 11:52:14.130723"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 99], ["created_at", "2016-04-09 11:52:14.133998"], ["updated_at", "2016-04-09 11:52:14.133998"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (3.0ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (2.5ms) ROLLBACK  (0.3ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:52:14.213546"], ["updated_at", "2016-04-09 11:52:14.213546"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 100], ["created_at", "2016-04-09 11:52:14.216916"], ["updated_at", "2016-04-09 11:52:14.216916"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 100], ["created_at", "2016-04-09 11:52:14.221824"], ["updated_at", "2016-04-09 11:52:14.221824"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:52:14.226571"], ["updated_at", "2016-04-09 11:52:14.226571"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 101], ["created_at", "2016-04-09 11:52:14.229697"], ["updated_at", "2016-04-09 11:52:14.229697"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 101], ["created_at", "2016-04-09 11:52:14.234408"], ["updated_at", "2016-04-09 11:52:14.234408"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 101], ["created_at", "2016-04-09 11:52:14.239039"], ["updated_at", "2016-04-09 11:52:14.239039"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:52:14.244560"], ["updated_at", "2016-04-09 11:52:14.244560"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 102], ["created_at", "2016-04-09 11:52:14.248219"], ["updated_at", "2016-04-09 11:52:14.248219"]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (3.1ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.3ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:52:14.261873"], ["updated_at", "2016-04-09 11:52:14.261873"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 103], ["created_at", "2016-04-09 11:52:14.264908"], ["updated_at", "2016-04-09 11:52:14.264908"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 103], ["created_at", "2016-04-09 11:52:14.269807"], ["updated_at", "2016-04-09 11:52:14.269807"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:52:14.274797"], ["updated_at", "2016-04-09 11:52:14.274797"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 104], ["created_at", "2016-04-09 11:52:14.277810"], ["updated_at", "2016-04-09 11:52:14.277810"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 104], ["created_at", "2016-04-09 11:52:14.282752"], ["updated_at", "2016-04-09 11:52:14.282752"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 104], ["created_at", "2016-04-09 11:52:14.287968"], ["updated_at", "2016-04-09 11:52:14.287968"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:52:14.292777"], ["updated_at", "2016-04-09 11:52:14.292777"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 105], ["created_at", "2016-04-09 11:52:14.296337"], ["updated_at", "2016-04-09 11:52:14.296337"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (2.0ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.3ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:52:14.307732"], ["updated_at", "2016-04-09 11:52:14.307732"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 106], ["created_at", "2016-04-09 11:52:14.310839"], ["updated_at", "2016-04-09 11:52:14.310839"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 106], ["created_at", "2016-04-09 11:52:14.315508"], ["updated_at", "2016-04-09 11:52:14.315508"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:52:14.320226"], ["updated_at", "2016-04-09 11:52:14.320226"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 107], ["created_at", "2016-04-09 11:52:14.323158"], ["updated_at", "2016-04-09 11:52:14.323158"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 107], ["created_at", "2016-04-09 11:52:14.327843"], ["updated_at", "2016-04-09 11:52:14.327843"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 107], ["created_at", "2016-04-09 11:52:14.332457"], ["updated_at", "2016-04-09 11:52:14.332457"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:52:14.337452"], ["updated_at", "2016-04-09 11:52:14.337452"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 108], ["created_at", "2016-04-09 11:52:14.341005"], ["updated_at", "2016-04-09 11:52:14.341005"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (3.1ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.5ms) ROLLBACK  (0.3ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:52:14.359313"], ["updated_at", "2016-04-09 11:52:14.359313"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 109], ["created_at", "2016-04-09 11:52:14.362423"], ["updated_at", "2016-04-09 11:52:14.362423"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 109], ["created_at", "2016-04-09 11:52:14.368082"], ["updated_at", "2016-04-09 11:52:14.368082"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:52:14.372975"], ["updated_at", "2016-04-09 11:52:14.372975"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 110], ["created_at", "2016-04-09 11:52:14.375896"], ["updated_at", "2016-04-09 11:52:14.375896"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 110], ["created_at", "2016-04-09 11:52:14.380644"], ["updated_at", "2016-04-09 11:52:14.380644"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 110], ["created_at", "2016-04-09 11:52:14.385292"], ["updated_at", "2016-04-09 11:52:14.385292"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:52:14.390133"], ["updated_at", "2016-04-09 11:52:14.390133"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 111], ["created_at", "2016-04-09 11:52:14.392820"], ["updated_at", "2016-04-09 11:52:14.392820"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.5ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:52:14.404317"], ["updated_at", "2016-04-09 11:52:14.404317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 112], ["created_at", "2016-04-09 11:52:14.406610"], ["updated_at", "2016-04-09 11:52:14.406610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 112], ["created_at", "2016-04-09 11:52:14.409505"], ["updated_at", "2016-04-09 11:52:14.409505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:52:14.411912"], ["updated_at", "2016-04-09 11:52:14.411912"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 113], ["created_at", "2016-04-09 11:52:14.413392"], ["updated_at", "2016-04-09 11:52:14.413392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 113], ["created_at", "2016-04-09 11:52:14.415811"], ["updated_at", "2016-04-09 11:52:14.415811"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 113], ["created_at", "2016-04-09 11:52:14.418217"], ["updated_at", "2016-04-09 11:52:14.418217"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:52:14.420590"], ["updated_at", "2016-04-09 11:52:14.420590"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 114], ["created_at", "2016-04-09 11:52:14.422137"], ["updated_at", "2016-04-09 11:52:14.422137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:52:14.471233"], ["updated_at", "2016-04-09 11:52:14.471233"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:52:14.473294"], ["updated_at", "2016-04-09 11:52:14.473294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:52:14.474980"], ["updated_at", "2016-04-09 11:52:14.474980"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:52:14.532400"], ["updated_at", "2016-04-09 11:52:14.532400"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:52:14.544681"], ["updated_at", "2016-04-09 11:52:14.544681"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 115], ["created_at", "2016-04-09 11:52:14.547904"], ["updated_at", "2016-04-09 11:52:14.547904"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:52:14.553390"], ["updated_at", "2016-04-09 11:52:14.553390"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 116], ["created_at", "2016-04-09 11:52:14.556557"], ["updated_at", "2016-04-09 11:52:14.556557"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:52:14.559969"], ["updated_at", "2016-04-09 11:52:14.559969"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.9ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (1.1ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.7ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.8ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.3ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:52:14.575971"], ["updated_at", "2016-04-09 11:52:14.575971"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 117], ["created_at", "2016-04-09 11:52:14.577680"], ["updated_at", "2016-04-09 11:52:14.577680"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 117], ["created_at", "2016-04-09 11:52:14.580185"], ["updated_at", "2016-04-09 11:52:14.580185"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:52:14.582053"], ["updated_at", "2016-04-09 11:52:14.582053"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:52:14.585687"], ["updated_at", "2016-04-09 11:52:14.585687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 118], ["created_at", "2016-04-09 11:52:14.586978"], ["updated_at", "2016-04-09 11:52:14.586978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 118], ["created_at", "2016-04-09 11:52:14.589010"], ["updated_at", "2016-04-09 11:52:14.589010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 118], ["created_at", "2016-04-09 11:52:14.590895"], ["updated_at", "2016-04-09 11:52:14.590895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:52:14.615621"], ["updated_at", "2016-04-09 11:52:14.615621"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 119], ["updated_at", "2016-04-09 11:52:14.618203"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 119], ["updated_at", "2016-04-09 11:52:14.621044"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:52:14.623526"], ["updated_at", "2016-04-09 11:52:14.623526"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 120], ["updated_at", "2016-04-09 11:52:14.625077"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 120], ["updated_at", "2016-04-09 11:52:14.627581"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.6ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (7.7ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.679153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.681308"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:52:14.683124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.684841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.689167"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.691172"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:52:14.693080"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.694894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (6.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.711876"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.714221"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:52:14.717088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:52:14.719522"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:53:40.120436"], ["updated_at", "2016-04-09 11:53:40.120436"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 121], ["created_at", "2016-04-09 11:53:40.122656"], ["updated_at", "2016-04-09 11:53:40.122656"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 121], ["created_at", "2016-04-09 11:53:40.125591"], ["updated_at", "2016-04-09 11:53:40.125591"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:53:40.128053"], ["updated_at", "2016-04-09 11:53:40.128053"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 122], ["created_at", "2016-04-09 11:53:40.129598"], ["updated_at", "2016-04-09 11:53:40.129598"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 122], ["created_at", "2016-04-09 11:53:40.131944"], ["updated_at", "2016-04-09 11:53:40.131944"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 122], ["created_at", "2016-04-09 11:53:40.134313"], ["updated_at", "2016-04-09 11:53:40.134313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:53:40.136736"], ["updated_at", "2016-04-09 11:53:40.136736"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 123], ["created_at", "2016-04-09 11:53:40.138262"], ["updated_at", "2016-04-09 11:53:40.138262"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:53:40.156913"], ["updated_at", "2016-04-09 11:53:40.156913"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 124], ["created_at", "2016-04-09 11:53:40.158536"], ["updated_at", "2016-04-09 11:53:40.158536"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 124], ["created_at", "2016-04-09 11:53:40.160918"], ["updated_at", "2016-04-09 11:53:40.160918"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:53:40.163318"], ["updated_at", "2016-04-09 11:53:40.163318"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 125], ["created_at", "2016-04-09 11:53:40.164838"], ["updated_at", "2016-04-09 11:53:40.164838"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 125], ["created_at", "2016-04-09 11:53:40.167156"], ["updated_at", "2016-04-09 11:53:40.167156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 125], ["created_at", "2016-04-09 11:53:40.169944"], ["updated_at", "2016-04-09 11:53:40.169944"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:53:40.172508"], ["updated_at", "2016-04-09 11:53:40.172508"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 126], ["created_at", "2016-04-09 11:53:40.173989"], ["updated_at", "2016-04-09 11:53:40.173989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:53:40.178842"], ["updated_at", "2016-04-09 11:53:40.178842"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 127], ["created_at", "2016-04-09 11:53:40.180376"], ["updated_at", "2016-04-09 11:53:40.180376"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 127], ["created_at", "2016-04-09 11:53:40.182749"], ["updated_at", "2016-04-09 11:53:40.182749"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:53:40.185133"], ["updated_at", "2016-04-09 11:53:40.185133"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 128], ["created_at", "2016-04-09 11:53:40.186786"], ["updated_at", "2016-04-09 11:53:40.186786"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 128], ["created_at", "2016-04-09 11:53:40.189134"], ["updated_at", "2016-04-09 11:53:40.189134"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 128], ["created_at", "2016-04-09 11:53:40.191859"], ["updated_at", "2016-04-09 11:53:40.191859"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:53:40.194156"], ["updated_at", "2016-04-09 11:53:40.194156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 129], ["created_at", "2016-04-09 11:53:40.195608"], ["updated_at", "2016-04-09 11:53:40.195608"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:53:40.200411"], ["updated_at", "2016-04-09 11:53:40.200411"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 130], ["created_at", "2016-04-09 11:53:40.202025"], ["updated_at", "2016-04-09 11:53:40.202025"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 130], ["created_at", "2016-04-09 11:53:40.205832"], ["updated_at", "2016-04-09 11:53:40.205832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:53:40.208012"], ["updated_at", "2016-04-09 11:53:40.208012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 131], ["created_at", "2016-04-09 11:53:40.209240"], ["updated_at", "2016-04-09 11:53:40.209240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 131], ["created_at", "2016-04-09 11:53:40.211112"], ["updated_at", "2016-04-09 11:53:40.211112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 131], ["created_at", "2016-04-09 11:53:40.212989"], ["updated_at", "2016-04-09 11:53:40.212989"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:53:40.214898"], ["updated_at", "2016-04-09 11:53:40.214898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 132], ["created_at", "2016-04-09 11:53:40.216071"], ["updated_at", "2016-04-09 11:53:40.216071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:53:40.220733"], ["updated_at", "2016-04-09 11:53:40.220733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 133], ["created_at", "2016-04-09 11:53:40.222048"], ["updated_at", "2016-04-09 11:53:40.222048"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 133], ["created_at", "2016-04-09 11:53:40.224055"], ["updated_at", "2016-04-09 11:53:40.224055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:53:40.226065"], ["updated_at", "2016-04-09 11:53:40.226065"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 134], ["created_at", "2016-04-09 11:53:40.227385"], ["updated_at", "2016-04-09 11:53:40.227385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 134], ["created_at", "2016-04-09 11:53:40.229410"], ["updated_at", "2016-04-09 11:53:40.229410"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 134], ["created_at", "2016-04-09 11:53:40.231303"], ["updated_at", "2016-04-09 11:53:40.231303"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:53:40.233371"], ["updated_at", "2016-04-09 11:53:40.233371"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 135], ["created_at", "2016-04-09 11:53:40.235168"], ["updated_at", "2016-04-09 11:53:40.235168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:53:40.240939"], ["updated_at", "2016-04-09 11:53:40.240939"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 136], ["created_at", "2016-04-09 11:53:40.242322"], ["updated_at", "2016-04-09 11:53:40.242322"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 136], ["created_at", "2016-04-09 11:53:40.244337"], ["updated_at", "2016-04-09 11:53:40.244337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:53:40.246312"], ["updated_at", "2016-04-09 11:53:40.246312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 137], ["created_at", "2016-04-09 11:53:40.247458"], ["updated_at", "2016-04-09 11:53:40.247458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 137], ["created_at", "2016-04-09 11:53:40.249642"], ["updated_at", "2016-04-09 11:53:40.249642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 137], ["created_at", "2016-04-09 11:53:40.251902"], ["updated_at", "2016-04-09 11:53:40.251902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:53:40.253943"], ["updated_at", "2016-04-09 11:53:40.253943"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 138], ["created_at", "2016-04-09 11:53:40.255119"], ["updated_at", "2016-04-09 11:53:40.255119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:53:40.287596"], ["updated_at", "2016-04-09 11:53:40.287596"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:53:40.289394"], ["updated_at", "2016-04-09 11:53:40.289394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:53:40.290775"], ["updated_at", "2016-04-09 11:53:40.290775"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:53:40.301664"], ["updated_at", "2016-04-09 11:53:40.301664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:53:40.307845"], ["updated_at", "2016-04-09 11:53:40.307845"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 139], ["created_at", "2016-04-09 11:53:40.309477"], ["updated_at", "2016-04-09 11:53:40.309477"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:53:40.312186"], ["updated_at", "2016-04-09 11:53:40.312186"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 140], ["created_at", "2016-04-09 11:53:40.313697"], ["updated_at", "2016-04-09 11:53:40.313697"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:53:40.315742"], ["updated_at", "2016-04-09 11:53:40.315742"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:53:40.325563"], ["updated_at", "2016-04-09 11:53:40.325563"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 141], ["created_at", "2016-04-09 11:53:40.327158"], ["updated_at", "2016-04-09 11:53:40.327158"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 141], ["created_at", "2016-04-09 11:53:40.329373"], ["updated_at", "2016-04-09 11:53:40.329373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:53:40.330911"], ["updated_at", "2016-04-09 11:53:40.330911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:53:40.333065"], ["updated_at", "2016-04-09 11:53:40.333065"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 142], ["created_at", "2016-04-09 11:53:40.334781"], ["updated_at", "2016-04-09 11:53:40.334781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 142], ["created_at", "2016-04-09 11:53:40.337186"], ["updated_at", "2016-04-09 11:53:40.337186"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 142], ["created_at", "2016-04-09 11:53:40.339408"], ["updated_at", "2016-04-09 11:53:40.339408"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:53:40.361937"], ["updated_at", "2016-04-09 11:53:40.361937"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 143], ["updated_at", "2016-04-09 11:53:40.363411"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 143], ["updated_at", "2016-04-09 11:53:40.366346"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:53:40.368836"], ["updated_at", "2016-04-09 11:53:40.368836"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 144], ["updated_at", "2016-04-09 11:53:40.371371"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 144], ["updated_at", "2016-04-09 11:53:40.374133"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.412375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.414451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:53:40.416174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.418244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.423480"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.425651"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:53:40.427801"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.431052"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (2.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.442086"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.444121"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:53:40.446285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.448330"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.511358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.513537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:53:40.515423"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.517709"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.522078"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.524504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:53:40.526656"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.528676"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.537457"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.539547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:53:40.550645"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (150.8ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:53:40.703494"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (1.4ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:38.790357"], ["updated_at", "2016-04-09 11:54:38.790357"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 145], ["created_at", "2016-04-09 11:54:38.792890"], ["updated_at", "2016-04-09 11:54:38.792890"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 145], ["created_at", "2016-04-09 11:54:38.795955"], ["updated_at", "2016-04-09 11:54:38.795955"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:38.798489"], ["updated_at", "2016-04-09 11:54:38.798489"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 146], ["created_at", "2016-04-09 11:54:38.800049"], ["updated_at", "2016-04-09 11:54:38.800049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 146], ["created_at", "2016-04-09 11:54:38.802406"], ["updated_at", "2016-04-09 11:54:38.802406"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 146], ["created_at", "2016-04-09 11:54:38.804918"], ["updated_at", "2016-04-09 11:54:38.804918"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:38.807380"], ["updated_at", "2016-04-09 11:54:38.807380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 147], ["created_at", "2016-04-09 11:54:38.808896"], ["updated_at", "2016-04-09 11:54:38.808896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:38.820387"], ["updated_at", "2016-04-09 11:54:38.820387"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 148], ["created_at", "2016-04-09 11:54:38.822052"], ["updated_at", "2016-04-09 11:54:38.822052"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 148], ["created_at", "2016-04-09 11:54:38.824495"], ["updated_at", "2016-04-09 11:54:38.824495"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:38.826989"], ["updated_at", "2016-04-09 11:54:38.826989"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 149], ["created_at", "2016-04-09 11:54:38.828648"], ["updated_at", "2016-04-09 11:54:38.828648"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 149], ["created_at", "2016-04-09 11:54:38.831032"], ["updated_at", "2016-04-09 11:54:38.831032"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 149], ["created_at", "2016-04-09 11:54:38.833355"], ["updated_at", "2016-04-09 11:54:38.833355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:38.835705"], ["updated_at", "2016-04-09 11:54:38.835705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 150], ["created_at", "2016-04-09 11:54:38.837473"], ["updated_at", "2016-04-09 11:54:38.837473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:38.843441"], ["updated_at", "2016-04-09 11:54:38.843441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 151], ["created_at", "2016-04-09 11:54:38.845027"], ["updated_at", "2016-04-09 11:54:38.845027"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 151], ["created_at", "2016-04-09 11:54:38.847346"], ["updated_at", "2016-04-09 11:54:38.847346"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:38.849729"], ["updated_at", "2016-04-09 11:54:38.849729"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 152], ["created_at", "2016-04-09 11:54:38.851281"], ["updated_at", "2016-04-09 11:54:38.851281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 152], ["created_at", "2016-04-09 11:54:38.854174"], ["updated_at", "2016-04-09 11:54:38.854174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 152], ["created_at", "2016-04-09 11:54:38.858099"], ["updated_at", "2016-04-09 11:54:38.858099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:38.860375"], ["updated_at", "2016-04-09 11:54:38.860375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 153], ["created_at", "2016-04-09 11:54:38.861587"], ["updated_at", "2016-04-09 11:54:38.861587"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:38.865813"], ["updated_at", "2016-04-09 11:54:38.865813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 154], ["created_at", "2016-04-09 11:54:38.867238"], ["updated_at", "2016-04-09 11:54:38.867238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 154], ["created_at", "2016-04-09 11:54:38.869359"], ["updated_at", "2016-04-09 11:54:38.869359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:38.872127"], ["updated_at", "2016-04-09 11:54:38.872127"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 155], ["created_at", "2016-04-09 11:54:38.873839"], ["updated_at", "2016-04-09 11:54:38.873839"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 155], ["created_at", "2016-04-09 11:54:38.876260"], ["updated_at", "2016-04-09 11:54:38.876260"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 155], ["created_at", "2016-04-09 11:54:38.878721"], ["updated_at", "2016-04-09 11:54:38.878721"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:38.881114"], ["updated_at", "2016-04-09 11:54:38.881114"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 156], ["created_at", "2016-04-09 11:54:38.882679"], ["updated_at", "2016-04-09 11:54:38.882679"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:38.887893"], ["updated_at", "2016-04-09 11:54:38.887893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 157], ["created_at", "2016-04-09 11:54:38.889543"], ["updated_at", "2016-04-09 11:54:38.889543"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 157], ["created_at", "2016-04-09 11:54:38.892067"], ["updated_at", "2016-04-09 11:54:38.892067"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:38.894392"], ["updated_at", "2016-04-09 11:54:38.894392"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 158], ["created_at", "2016-04-09 11:54:38.895909"], ["updated_at", "2016-04-09 11:54:38.895909"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 158], ["created_at", "2016-04-09 11:54:38.898195"], ["updated_at", "2016-04-09 11:54:38.898195"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 158], ["created_at", "2016-04-09 11:54:38.900964"], ["updated_at", "2016-04-09 11:54:38.900964"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:38.903358"], ["updated_at", "2016-04-09 11:54:38.903358"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 159], ["created_at", "2016-04-09 11:54:38.906076"], ["updated_at", "2016-04-09 11:54:38.906076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:38.911182"], ["updated_at", "2016-04-09 11:54:38.911182"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 160], ["created_at", "2016-04-09 11:54:38.912578"], ["updated_at", "2016-04-09 11:54:38.912578"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 160], ["created_at", "2016-04-09 11:54:38.914793"], ["updated_at", "2016-04-09 11:54:38.914793"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:38.916994"], ["updated_at", "2016-04-09 11:54:38.916994"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 161], ["created_at", "2016-04-09 11:54:38.918405"], ["updated_at", "2016-04-09 11:54:38.918405"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 161], ["created_at", "2016-04-09 11:54:38.921218"], ["updated_at", "2016-04-09 11:54:38.921218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 161], ["created_at", "2016-04-09 11:54:38.923685"], ["updated_at", "2016-04-09 11:54:38.923685"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:38.925945"], ["updated_at", "2016-04-09 11:54:38.925945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 162], ["created_at", "2016-04-09 11:54:38.927372"], ["updated_at", "2016-04-09 11:54:38.927372"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:54:38.959239"], ["updated_at", "2016-04-09 11:54:38.959239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:54:38.961251"], ["updated_at", "2016-04-09 11:54:38.961251"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:54:38.963414"], ["updated_at", "2016-04-09 11:54:38.963414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:54:38.980203"], ["updated_at", "2016-04-09 11:54:38.980203"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:38.986601"], ["updated_at", "2016-04-09 11:54:38.986601"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 163], ["created_at", "2016-04-09 11:54:38.989495"], ["updated_at", "2016-04-09 11:54:38.989495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:38.992045"], ["updated_at", "2016-04-09 11:54:38.992045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 164], ["created_at", "2016-04-09 11:54:38.993435"], ["updated_at", "2016-04-09 11:54:38.993435"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:38.995123"], ["updated_at", "2016-04-09 11:54:38.995123"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:39.003868"], ["updated_at", "2016-04-09 11:54:39.003868"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 165], ["created_at", "2016-04-09 11:54:39.005658"], ["updated_at", "2016-04-09 11:54:39.005658"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 165], ["created_at", "2016-04-09 11:54:39.008036"], ["updated_at", "2016-04-09 11:54:39.008036"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:39.009743"], ["updated_at", "2016-04-09 11:54:39.009743"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:39.012147"], ["updated_at", "2016-04-09 11:54:39.012147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 166], ["created_at", "2016-04-09 11:54:39.013724"], ["updated_at", "2016-04-09 11:54:39.013724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 166], ["created_at", "2016-04-09 11:54:39.016595"], ["updated_at", "2016-04-09 11:54:39.016595"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 166], ["created_at", "2016-04-09 11:54:39.019051"], ["updated_at", "2016-04-09 11:54:39.019051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:54:39.043060"], ["updated_at", "2016-04-09 11:54:39.043060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 167], ["updated_at", "2016-04-09 11:54:39.044591"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 167], ["updated_at", "2016-04-09 11:54:39.047192"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:54:39.049668"], ["updated_at", "2016-04-09 11:54:39.049668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 168], ["updated_at", "2016-04-09 11:54:39.051075"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 168], ["updated_at", "2016-04-09 11:54:39.053463"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.091044"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.093123"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:39.094859"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.096573"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.100820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.103141"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:39.105892"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.107744"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.116081"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.118136"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:39.120001"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.123534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.189584"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.191600"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:39.193801"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.195815"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.199898"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.202037"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:39.204222"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.206988"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.216133"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.218415"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:39.220466"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:39.223175"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:46.309850"], ["updated_at", "2016-04-09 11:54:46.309850"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 169], ["created_at", "2016-04-09 11:54:46.312201"], ["updated_at", "2016-04-09 11:54:46.312201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 169], ["created_at", "2016-04-09 11:54:46.315214"], ["updated_at", "2016-04-09 11:54:46.315214"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:46.317739"], ["updated_at", "2016-04-09 11:54:46.317739"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 170], ["created_at", "2016-04-09 11:54:46.319337"], ["updated_at", "2016-04-09 11:54:46.319337"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 170], ["created_at", "2016-04-09 11:54:46.322165"], ["updated_at", "2016-04-09 11:54:46.322165"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 170], ["created_at", "2016-04-09 11:54:46.324657"], ["updated_at", "2016-04-09 11:54:46.324657"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:46.327101"], ["updated_at", "2016-04-09 11:54:46.327101"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 171], ["created_at", "2016-04-09 11:54:46.328623"], ["updated_at", "2016-04-09 11:54:46.328623"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:46.340048"], ["updated_at", "2016-04-09 11:54:46.340048"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 172], ["created_at", "2016-04-09 11:54:46.341718"], ["updated_at", "2016-04-09 11:54:46.341718"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 172], ["created_at", "2016-04-09 11:54:46.344133"], ["updated_at", "2016-04-09 11:54:46.344133"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:46.346554"], ["updated_at", "2016-04-09 11:54:46.346554"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 173], ["created_at", "2016-04-09 11:54:46.348079"], ["updated_at", "2016-04-09 11:54:46.348079"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 173], ["created_at", "2016-04-09 11:54:46.350450"], ["updated_at", "2016-04-09 11:54:46.350450"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 173], ["created_at", "2016-04-09 11:54:46.352805"], ["updated_at", "2016-04-09 11:54:46.352805"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:46.355583"], ["updated_at", "2016-04-09 11:54:46.355583"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 174], ["created_at", "2016-04-09 11:54:46.357130"], ["updated_at", "2016-04-09 11:54:46.357130"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:46.361945"], ["updated_at", "2016-04-09 11:54:46.361945"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 175], ["created_at", "2016-04-09 11:54:46.363412"], ["updated_at", "2016-04-09 11:54:46.363412"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 175], ["created_at", "2016-04-09 11:54:46.365687"], ["updated_at", "2016-04-09 11:54:46.365687"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:46.368110"], ["updated_at", "2016-04-09 11:54:46.368110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 176], ["created_at", "2016-04-09 11:54:46.369520"], ["updated_at", "2016-04-09 11:54:46.369520"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 176], ["created_at", "2016-04-09 11:54:46.372266"], ["updated_at", "2016-04-09 11:54:46.372266"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 176], ["created_at", "2016-04-09 11:54:46.375336"], ["updated_at", "2016-04-09 11:54:46.375336"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:46.377761"], ["updated_at", "2016-04-09 11:54:46.377761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 177], ["created_at", "2016-04-09 11:54:46.379261"], ["updated_at", "2016-04-09 11:54:46.379261"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:46.384053"], ["updated_at", "2016-04-09 11:54:46.384053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 178], ["created_at", "2016-04-09 11:54:46.385525"], ["updated_at", "2016-04-09 11:54:46.385525"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 178], ["created_at", "2016-04-09 11:54:46.387823"], ["updated_at", "2016-04-09 11:54:46.387823"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:46.391224"], ["updated_at", "2016-04-09 11:54:46.391224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 179], ["created_at", "2016-04-09 11:54:46.392508"], ["updated_at", "2016-04-09 11:54:46.392508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 179], ["created_at", "2016-04-09 11:54:46.394504"], ["updated_at", "2016-04-09 11:54:46.394504"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 179], ["created_at", "2016-04-09 11:54:46.396390"], ["updated_at", "2016-04-09 11:54:46.396390"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:46.398701"], ["updated_at", "2016-04-09 11:54:46.398701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 180], ["created_at", "2016-04-09 11:54:46.399951"], ["updated_at", "2016-04-09 11:54:46.399951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:46.404568"], ["updated_at", "2016-04-09 11:54:46.404568"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 181], ["created_at", "2016-04-09 11:54:46.406446"], ["updated_at", "2016-04-09 11:54:46.406446"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 181], ["created_at", "2016-04-09 11:54:46.408598"], ["updated_at", "2016-04-09 11:54:46.408598"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:46.410544"], ["updated_at", "2016-04-09 11:54:46.410544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 182], ["created_at", "2016-04-09 11:54:46.411704"], ["updated_at", "2016-04-09 11:54:46.411704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 182], ["created_at", "2016-04-09 11:54:46.413553"], ["updated_at", "2016-04-09 11:54:46.413553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 182], ["created_at", "2016-04-09 11:54:46.415394"], ["updated_at", "2016-04-09 11:54:46.415394"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:46.417914"], ["updated_at", "2016-04-09 11:54:46.417914"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 183], ["created_at", "2016-04-09 11:54:46.419464"], ["updated_at", "2016-04-09 11:54:46.419464"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:46.425657"], ["updated_at", "2016-04-09 11:54:46.425657"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 184], ["created_at", "2016-04-09 11:54:46.427213"], ["updated_at", "2016-04-09 11:54:46.427213"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 184], ["created_at", "2016-04-09 11:54:46.429820"], ["updated_at", "2016-04-09 11:54:46.429820"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:46.432232"], ["updated_at", "2016-04-09 11:54:46.432232"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 185], ["created_at", "2016-04-09 11:54:46.433750"], ["updated_at", "2016-04-09 11:54:46.433750"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 185], ["created_at", "2016-04-09 11:54:46.436094"], ["updated_at", "2016-04-09 11:54:46.436094"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 185], ["created_at", "2016-04-09 11:54:46.438547"], ["updated_at", "2016-04-09 11:54:46.438547"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:46.440771"], ["updated_at", "2016-04-09 11:54:46.440771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 186], ["created_at", "2016-04-09 11:54:46.442146"], ["updated_at", "2016-04-09 11:54:46.442146"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:54:46.473811"], ["updated_at", "2016-04-09 11:54:46.473811"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:54:46.475705"], ["updated_at", "2016-04-09 11:54:46.475705"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:54:46.477178"], ["updated_at", "2016-04-09 11:54:46.477178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:54:46.494704"], ["updated_at", "2016-04-09 11:54:46.494704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:46.500973"], ["updated_at", "2016-04-09 11:54:46.500973"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 187], ["created_at", "2016-04-09 11:54:46.502653"], ["updated_at", "2016-04-09 11:54:46.502653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:46.506001"], ["updated_at", "2016-04-09 11:54:46.506001"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 188], ["created_at", "2016-04-09 11:54:46.507938"], ["updated_at", "2016-04-09 11:54:46.507938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:46.509584"], ["updated_at", "2016-04-09 11:54:46.509584"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:46.517574"], ["updated_at", "2016-04-09 11:54:46.517574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 189], ["created_at", "2016-04-09 11:54:46.519010"], ["updated_at", "2016-04-09 11:54:46.519010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 189], ["created_at", "2016-04-09 11:54:46.521494"], ["updated_at", "2016-04-09 11:54:46.521494"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:46.523201"], ["updated_at", "2016-04-09 11:54:46.523201"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:46.525453"], ["updated_at", "2016-04-09 11:54:46.525453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 190], ["created_at", "2016-04-09 11:54:46.526912"], ["updated_at", "2016-04-09 11:54:46.526912"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 190], ["created_at", "2016-04-09 11:54:46.529820"], ["updated_at", "2016-04-09 11:54:46.529820"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 190], ["created_at", "2016-04-09 11:54:46.532134"], ["updated_at", "2016-04-09 11:54:46.532134"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:54:46.556323"], ["updated_at", "2016-04-09 11:54:46.556323"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 191], ["updated_at", "2016-04-09 11:54:46.557983"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 191], ["updated_at", "2016-04-09 11:54:46.560760"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:54:46.563278"], ["updated_at", "2016-04-09 11:54:46.563278"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 192], ["updated_at", "2016-04-09 11:54:46.564848"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 192], ["updated_at", "2016-04-09 11:54:46.567355"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.605369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.607463"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:46.609229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.610934"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.615404"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.617273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:46.618990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.620729"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.629884"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.631896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:46.633748"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.635667"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.6ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.707551"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.713057"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:46.715129"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.717218"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.721452"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.724096"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:46.726419"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.728672"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.738107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.741393"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:46.743523"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:46.745666"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:51.555659"], ["updated_at", "2016-04-09 11:54:51.555659"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 193], ["created_at", "2016-04-09 11:54:51.557948"], ["updated_at", "2016-04-09 11:54:51.557948"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 193], ["created_at", "2016-04-09 11:54:51.560890"], ["updated_at", "2016-04-09 11:54:51.560890"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:51.563390"], ["updated_at", "2016-04-09 11:54:51.563390"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 194], ["created_at", "2016-04-09 11:54:51.564858"], ["updated_at", "2016-04-09 11:54:51.564858"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 194], ["created_at", "2016-04-09 11:54:51.567248"], ["updated_at", "2016-04-09 11:54:51.567248"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 194], ["created_at", "2016-04-09 11:54:51.569566"], ["updated_at", "2016-04-09 11:54:51.569566"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:51.572202"], ["updated_at", "2016-04-09 11:54:51.572202"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 195], ["created_at", "2016-04-09 11:54:51.573814"], ["updated_at", "2016-04-09 11:54:51.573814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:51.585200"], ["updated_at", "2016-04-09 11:54:51.585200"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 196], ["created_at", "2016-04-09 11:54:51.586858"], ["updated_at", "2016-04-09 11:54:51.586858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 196], ["created_at", "2016-04-09 11:54:51.589627"], ["updated_at", "2016-04-09 11:54:51.589627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:51.592331"], ["updated_at", "2016-04-09 11:54:51.592331"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 197], ["created_at", "2016-04-09 11:54:51.593904"], ["updated_at", "2016-04-09 11:54:51.593904"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 197], ["created_at", "2016-04-09 11:54:51.596259"], ["updated_at", "2016-04-09 11:54:51.596259"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 197], ["created_at", "2016-04-09 11:54:51.598579"], ["updated_at", "2016-04-09 11:54:51.598579"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:51.600992"], ["updated_at", "2016-04-09 11:54:51.600992"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 198], ["created_at", "2016-04-09 11:54:51.602488"], ["updated_at", "2016-04-09 11:54:51.602488"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:51.607648"], ["updated_at", "2016-04-09 11:54:51.607648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 199], ["created_at", "2016-04-09 11:54:51.609188"], ["updated_at", "2016-04-09 11:54:51.609188"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 199], ["created_at", "2016-04-09 11:54:51.611798"], ["updated_at", "2016-04-09 11:54:51.611798"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:51.614164"], ["updated_at", "2016-04-09 11:54:51.614164"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 200], ["created_at", "2016-04-09 11:54:51.615747"], ["updated_at", "2016-04-09 11:54:51.615747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 200], ["created_at", "2016-04-09 11:54:51.618611"], ["updated_at", "2016-04-09 11:54:51.618611"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 200], ["created_at", "2016-04-09 11:54:51.621213"], ["updated_at", "2016-04-09 11:54:51.621213"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:51.624875"], ["updated_at", "2016-04-09 11:54:51.624875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 201], ["created_at", "2016-04-09 11:54:51.626156"], ["updated_at", "2016-04-09 11:54:51.626156"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:51.630483"], ["updated_at", "2016-04-09 11:54:51.630483"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 202], ["created_at", "2016-04-09 11:54:51.631734"], ["updated_at", "2016-04-09 11:54:51.631734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 202], ["created_at", "2016-04-09 11:54:51.633783"], ["updated_at", "2016-04-09 11:54:51.633783"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:51.635741"], ["updated_at", "2016-04-09 11:54:51.635741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 203], ["created_at", "2016-04-09 11:54:51.636887"], ["updated_at", "2016-04-09 11:54:51.636887"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 203], ["created_at", "2016-04-09 11:54:51.639091"], ["updated_at", "2016-04-09 11:54:51.639091"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 203], ["created_at", "2016-04-09 11:54:51.641419"], ["updated_at", "2016-04-09 11:54:51.641419"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:51.643898"], ["updated_at", "2016-04-09 11:54:51.643898"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 204], ["created_at", "2016-04-09 11:54:51.645432"], ["updated_at", "2016-04-09 11:54:51.645432"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:51.650438"], ["updated_at", "2016-04-09 11:54:51.650438"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 205], ["created_at", "2016-04-09 11:54:51.651935"], ["updated_at", "2016-04-09 11:54:51.651935"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 205], ["created_at", "2016-04-09 11:54:51.654254"], ["updated_at", "2016-04-09 11:54:51.654254"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:51.657107"], ["updated_at", "2016-04-09 11:54:51.657107"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 206], ["created_at", "2016-04-09 11:54:51.658520"], ["updated_at", "2016-04-09 11:54:51.658520"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 206], ["created_at", "2016-04-09 11:54:51.660717"], ["updated_at", "2016-04-09 11:54:51.660717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 206], ["created_at", "2016-04-09 11:54:51.662972"], ["updated_at", "2016-04-09 11:54:51.662972"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:51.665764"], ["updated_at", "2016-04-09 11:54:51.665764"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 207], ["created_at", "2016-04-09 11:54:51.667224"], ["updated_at", "2016-04-09 11:54:51.667224"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:51.673246"], ["updated_at", "2016-04-09 11:54:51.673246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 208], ["created_at", "2016-04-09 11:54:51.674719"], ["updated_at", "2016-04-09 11:54:51.674719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 208], ["created_at", "2016-04-09 11:54:51.676756"], ["updated_at", "2016-04-09 11:54:51.676756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:51.678741"], ["updated_at", "2016-04-09 11:54:51.678741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 209], ["created_at", "2016-04-09 11:54:51.679941"], ["updated_at", "2016-04-09 11:54:51.679941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 209], ["created_at", "2016-04-09 11:54:51.681899"], ["updated_at", "2016-04-09 11:54:51.681899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 209], ["created_at", "2016-04-09 11:54:51.683803"], ["updated_at", "2016-04-09 11:54:51.683803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:51.685890"], ["updated_at", "2016-04-09 11:54:51.685890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 210], ["created_at", "2016-04-09 11:54:51.687110"], ["updated_at", "2016-04-09 11:54:51.687110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:54:51.718037"], ["updated_at", "2016-04-09 11:54:51.718037"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:54:51.720203"], ["updated_at", "2016-04-09 11:54:51.720203"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:54:51.722019"], ["updated_at", "2016-04-09 11:54:51.722019"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:54:51.739573"], ["updated_at", "2016-04-09 11:54:51.739573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:51.746129"], ["updated_at", "2016-04-09 11:54:51.746129"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 211], ["created_at", "2016-04-09 11:54:51.747862"], ["updated_at", "2016-04-09 11:54:51.747862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:51.750602"], ["updated_at", "2016-04-09 11:54:51.750602"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 212], ["created_at", "2016-04-09 11:54:51.752137"], ["updated_at", "2016-04-09 11:54:51.752137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:51.753876"], ["updated_at", "2016-04-09 11:54:51.753876"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:51.763862"], ["updated_at", "2016-04-09 11:54:51.763862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 213], ["created_at", "2016-04-09 11:54:51.765610"], ["updated_at", "2016-04-09 11:54:51.765610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 213], ["created_at", "2016-04-09 11:54:51.768010"], ["updated_at", "2016-04-09 11:54:51.768010"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:51.769729"], ["updated_at", "2016-04-09 11:54:51.769729"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:51.772282"], ["updated_at", "2016-04-09 11:54:51.772282"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 214], ["created_at", "2016-04-09 11:54:51.773889"], ["updated_at", "2016-04-09 11:54:51.773889"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 214], ["created_at", "2016-04-09 11:54:51.776436"], ["updated_at", "2016-04-09 11:54:51.776436"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 214], ["created_at", "2016-04-09 11:54:51.779624"], ["updated_at", "2016-04-09 11:54:51.779624"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:54:51.802760"], ["updated_at", "2016-04-09 11:54:51.802760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 215], ["updated_at", "2016-04-09 11:54:51.804170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 215], ["updated_at", "2016-04-09 11:54:51.807224"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:54:51.809594"], ["updated_at", "2016-04-09 11:54:51.809594"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 216], ["updated_at", "2016-04-09 11:54:51.811057"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 216], ["updated_at", "2016-04-09 11:54:51.813341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.1ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.850051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.852183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:51.853917"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.856111"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.860340"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.862212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:51.863987"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.865924"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.875607"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.877680"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:51.879572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.881470"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.950509"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.953144"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:51.955239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.957883"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.961675"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.963766"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:51.966054"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.968102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.979508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.982258"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:51.984708"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:51.986952"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:54.927215"], ["updated_at", "2016-04-09 11:54:54.927215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 217], ["created_at", "2016-04-09 11:54:54.929465"], ["updated_at", "2016-04-09 11:54:54.929465"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 217], ["created_at", "2016-04-09 11:54:54.932354"], ["updated_at", "2016-04-09 11:54:54.932354"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:54.935047"], ["updated_at", "2016-04-09 11:54:54.935047"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 218], ["created_at", "2016-04-09 11:54:54.936684"], ["updated_at", "2016-04-09 11:54:54.936684"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 218], ["created_at", "2016-04-09 11:54:54.939729"], ["updated_at", "2016-04-09 11:54:54.939729"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 218], ["created_at", "2016-04-09 11:54:54.942266"], ["updated_at", "2016-04-09 11:54:54.942266"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:54.944725"], ["updated_at", "2016-04-09 11:54:54.944725"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 219], ["created_at", "2016-04-09 11:54:54.946269"], ["updated_at", "2016-04-09 11:54:54.946269"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:54.957636"], ["updated_at", "2016-04-09 11:54:54.957636"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 220], ["created_at", "2016-04-09 11:54:54.959255"], ["updated_at", "2016-04-09 11:54:54.959255"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 220], ["created_at", "2016-04-09 11:54:54.961704"], ["updated_at", "2016-04-09 11:54:54.961704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:54.964226"], ["updated_at", "2016-04-09 11:54:54.964226"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 221], ["created_at", "2016-04-09 11:54:54.965903"], ["updated_at", "2016-04-09 11:54:54.965903"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 221], ["created_at", "2016-04-09 11:54:54.968268"], ["updated_at", "2016-04-09 11:54:54.968268"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 221], ["created_at", "2016-04-09 11:54:54.970590"], ["updated_at", "2016-04-09 11:54:54.970590"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:54.973400"], ["updated_at", "2016-04-09 11:54:54.973400"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 222], ["created_at", "2016-04-09 11:54:54.974949"], ["updated_at", "2016-04-09 11:54:54.974949"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:54.979932"], ["updated_at", "2016-04-09 11:54:54.979932"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 223], ["created_at", "2016-04-09 11:54:54.981487"], ["updated_at", "2016-04-09 11:54:54.981487"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 223], ["created_at", "2016-04-09 11:54:54.983891"], ["updated_at", "2016-04-09 11:54:54.983891"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:54.986229"], ["updated_at", "2016-04-09 11:54:54.986229"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 224], ["created_at", "2016-04-09 11:54:54.987763"], ["updated_at", "2016-04-09 11:54:54.987763"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 224], ["created_at", "2016-04-09 11:54:54.991083"], ["updated_at", "2016-04-09 11:54:54.991083"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 224], ["created_at", "2016-04-09 11:54:54.993588"], ["updated_at", "2016-04-09 11:54:54.993588"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:54.995966"], ["updated_at", "2016-04-09 11:54:54.995966"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 225], ["created_at", "2016-04-09 11:54:54.997501"], ["updated_at", "2016-04-09 11:54:54.997501"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:55.002452"], ["updated_at", "2016-04-09 11:54:55.002452"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 226], ["created_at", "2016-04-09 11:54:55.004114"], ["updated_at", "2016-04-09 11:54:55.004114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 226], ["created_at", "2016-04-09 11:54:55.007869"], ["updated_at", "2016-04-09 11:54:55.007869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:55.010035"], ["updated_at", "2016-04-09 11:54:55.010035"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 227], ["created_at", "2016-04-09 11:54:55.011188"], ["updated_at", "2016-04-09 11:54:55.011188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 227], ["created_at", "2016-04-09 11:54:55.013168"], ["updated_at", "2016-04-09 11:54:55.013168"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 227], ["created_at", "2016-04-09 11:54:55.015250"], ["updated_at", "2016-04-09 11:54:55.015250"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:55.017183"], ["updated_at", "2016-04-09 11:54:55.017183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 228], ["created_at", "2016-04-09 11:54:55.018420"], ["updated_at", "2016-04-09 11:54:55.018420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:55.023505"], ["updated_at", "2016-04-09 11:54:55.023505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 229], ["created_at", "2016-04-09 11:54:55.025244"], ["updated_at", "2016-04-09 11:54:55.025244"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 229], ["created_at", "2016-04-09 11:54:55.027681"], ["updated_at", "2016-04-09 11:54:55.027681"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:55.030091"], ["updated_at", "2016-04-09 11:54:55.030091"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 230], ["created_at", "2016-04-09 11:54:55.031595"], ["updated_at", "2016-04-09 11:54:55.031595"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 230], ["created_at", "2016-04-09 11:54:55.033998"], ["updated_at", "2016-04-09 11:54:55.033998"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 230], ["created_at", "2016-04-09 11:54:55.036589"], ["updated_at", "2016-04-09 11:54:55.036589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:55.039576"], ["updated_at", "2016-04-09 11:54:55.039576"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 231], ["created_at", "2016-04-09 11:54:55.041704"], ["updated_at", "2016-04-09 11:54:55.041704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:55.045974"], ["updated_at", "2016-04-09 11:54:55.045974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 232], ["created_at", "2016-04-09 11:54:55.047257"], ["updated_at", "2016-04-09 11:54:55.047257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 232], ["created_at", "2016-04-09 11:54:55.049294"], ["updated_at", "2016-04-09 11:54:55.049294"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:55.051448"], ["updated_at", "2016-04-09 11:54:55.051448"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 233], ["created_at", "2016-04-09 11:54:55.052623"], ["updated_at", "2016-04-09 11:54:55.052623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 233], ["created_at", "2016-04-09 11:54:55.054616"], ["updated_at", "2016-04-09 11:54:55.054616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 233], ["created_at", "2016-04-09 11:54:55.057388"], ["updated_at", "2016-04-09 11:54:55.057388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:55.059900"], ["updated_at", "2016-04-09 11:54:55.059900"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 234], ["created_at", "2016-04-09 11:54:55.061432"], ["updated_at", "2016-04-09 11:54:55.061432"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:54:55.094662"], ["updated_at", "2016-04-09 11:54:55.094662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:54:55.096308"], ["updated_at", "2016-04-09 11:54:55.096308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:54:55.097731"], ["updated_at", "2016-04-09 11:54:55.097731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:54:55.113596"], ["updated_at", "2016-04-09 11:54:55.113596"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:55.120823"], ["updated_at", "2016-04-09 11:54:55.120823"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 235], ["created_at", "2016-04-09 11:54:55.122573"], ["updated_at", "2016-04-09 11:54:55.122573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:55.126266"], ["updated_at", "2016-04-09 11:54:55.126266"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 236], ["created_at", "2016-04-09 11:54:55.127548"], ["updated_at", "2016-04-09 11:54:55.127548"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:55.128924"], ["updated_at", "2016-04-09 11:54:55.128924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:55.136359"], ["updated_at", "2016-04-09 11:54:55.136359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 237], ["created_at", "2016-04-09 11:54:55.137819"], ["updated_at", "2016-04-09 11:54:55.137819"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 237], ["created_at", "2016-04-09 11:54:55.140428"], ["updated_at", "2016-04-09 11:54:55.140428"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:55.142192"], ["updated_at", "2016-04-09 11:54:55.142192"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:55.144510"], ["updated_at", "2016-04-09 11:54:55.144510"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 238], ["created_at", "2016-04-09 11:54:55.146147"], ["updated_at", "2016-04-09 11:54:55.146147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 238], ["created_at", "2016-04-09 11:54:55.148660"], ["updated_at", "2016-04-09 11:54:55.148660"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 238], ["created_at", "2016-04-09 11:54:55.151171"], ["updated_at", "2016-04-09 11:54:55.151171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:54:55.176369"], ["updated_at", "2016-04-09 11:54:55.176369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 239], ["updated_at", "2016-04-09 11:54:55.177843"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 239], ["updated_at", "2016-04-09 11:54:55.180716"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:54:55.183153"], ["updated_at", "2016-04-09 11:54:55.183153"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 240], ["updated_at", "2016-04-09 11:54:55.184550"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 240], ["updated_at", "2016-04-09 11:54:55.186916"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.228916"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.231039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:55.232823"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.234532"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.239530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.241504"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:55.243193"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.244870"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.253129"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.255309"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:55.258484"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.260425"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.331460"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.333710"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:55.336022"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.338513"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.342595"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.344864"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:55.346963"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.349351"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.359148"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.361514"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:55.363592"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:55.366145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:58.137701"], ["updated_at", "2016-04-09 11:54:58.137701"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 241], ["created_at", "2016-04-09 11:54:58.140318"], ["updated_at", "2016-04-09 11:54:58.140318"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 241], ["created_at", "2016-04-09 11:54:58.143316"], ["updated_at", "2016-04-09 11:54:58.143316"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:58.145882"], ["updated_at", "2016-04-09 11:54:58.145882"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 242], ["created_at", "2016-04-09 11:54:58.147446"], ["updated_at", "2016-04-09 11:54:58.147446"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 242], ["created_at", "2016-04-09 11:54:58.149845"], ["updated_at", "2016-04-09 11:54:58.149845"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 242], ["created_at", "2016-04-09 11:54:58.152285"], ["updated_at", "2016-04-09 11:54:58.152285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:58.154847"], ["updated_at", "2016-04-09 11:54:58.154847"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 243], ["created_at", "2016-04-09 11:54:58.156459"], ["updated_at", "2016-04-09 11:54:58.156459"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:58.167692"], ["updated_at", "2016-04-09 11:54:58.167692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 244], ["created_at", "2016-04-09 11:54:58.169468"], ["updated_at", "2016-04-09 11:54:58.169468"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 244], ["created_at", "2016-04-09 11:54:58.171974"], ["updated_at", "2016-04-09 11:54:58.171974"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:58.175034"], ["updated_at", "2016-04-09 11:54:58.175034"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 245], ["created_at", "2016-04-09 11:54:58.176596"], ["updated_at", "2016-04-09 11:54:58.176596"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 245], ["created_at", "2016-04-09 11:54:58.179002"], ["updated_at", "2016-04-09 11:54:58.179002"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 245], ["created_at", "2016-04-09 11:54:58.181336"], ["updated_at", "2016-04-09 11:54:58.181336"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:58.183686"], ["updated_at", "2016-04-09 11:54:58.183686"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 246], ["created_at", "2016-04-09 11:54:58.185209"], ["updated_at", "2016-04-09 11:54:58.185209"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:58.190273"], ["updated_at", "2016-04-09 11:54:58.190273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 247], ["created_at", "2016-04-09 11:54:58.191835"], ["updated_at", "2016-04-09 11:54:58.191835"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 247], ["created_at", "2016-04-09 11:54:58.194198"], ["updated_at", "2016-04-09 11:54:58.194198"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:58.196542"], ["updated_at", "2016-04-09 11:54:58.196542"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 248], ["created_at", "2016-04-09 11:54:58.198103"], ["updated_at", "2016-04-09 11:54:58.198103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 248], ["created_at", "2016-04-09 11:54:58.200961"], ["updated_at", "2016-04-09 11:54:58.200961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 248], ["created_at", "2016-04-09 11:54:58.203416"], ["updated_at", "2016-04-09 11:54:58.203416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:58.206687"], ["updated_at", "2016-04-09 11:54:58.206687"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 249], ["created_at", "2016-04-09 11:54:58.208583"], ["updated_at", "2016-04-09 11:54:58.208583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:58.212951"], ["updated_at", "2016-04-09 11:54:58.212951"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 250], ["created_at", "2016-04-09 11:54:58.214280"], ["updated_at", "2016-04-09 11:54:58.214280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 250], ["created_at", "2016-04-09 11:54:58.216271"], ["updated_at", "2016-04-09 11:54:58.216271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:58.218221"], ["updated_at", "2016-04-09 11:54:58.218221"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 251], ["created_at", "2016-04-09 11:54:58.219357"], ["updated_at", "2016-04-09 11:54:58.219357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 251], ["created_at", "2016-04-09 11:54:58.221642"], ["updated_at", "2016-04-09 11:54:58.221642"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 251], ["created_at", "2016-04-09 11:54:58.223693"], ["updated_at", "2016-04-09 11:54:58.223693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:58.225680"], ["updated_at", "2016-04-09 11:54:58.225680"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 252], ["created_at", "2016-04-09 11:54:58.226879"], ["updated_at", "2016-04-09 11:54:58.226879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:58.231457"], ["updated_at", "2016-04-09 11:54:58.231457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 253], ["created_at", "2016-04-09 11:54:58.232696"], ["updated_at", "2016-04-09 11:54:58.232696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 253], ["created_at", "2016-04-09 11:54:58.234736"], ["updated_at", "2016-04-09 11:54:58.234736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:58.236719"], ["updated_at", "2016-04-09 11:54:58.236719"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 254], ["created_at", "2016-04-09 11:54:58.237920"], ["updated_at", "2016-04-09 11:54:58.237920"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 254], ["created_at", "2016-04-09 11:54:58.239976"], ["updated_at", "2016-04-09 11:54:58.239976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 254], ["created_at", "2016-04-09 11:54:58.241859"], ["updated_at", "2016-04-09 11:54:58.241859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:58.243798"], ["updated_at", "2016-04-09 11:54:58.243798"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 255], ["created_at", "2016-04-09 11:54:58.245010"], ["updated_at", "2016-04-09 11:54:58.245010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:58.250155"], ["updated_at", "2016-04-09 11:54:58.250155"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 256], ["created_at", "2016-04-09 11:54:58.251718"], ["updated_at", "2016-04-09 11:54:58.251718"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 256], ["created_at", "2016-04-09 11:54:58.254131"], ["updated_at", "2016-04-09 11:54:58.254131"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:58.258200"], ["updated_at", "2016-04-09 11:54:58.258200"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 257], ["created_at", "2016-04-09 11:54:58.259666"], ["updated_at", "2016-04-09 11:54:58.259666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 257], ["created_at", "2016-04-09 11:54:58.262153"], ["updated_at", "2016-04-09 11:54:58.262153"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 257], ["created_at", "2016-04-09 11:54:58.264391"], ["updated_at", "2016-04-09 11:54:58.264391"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:54:58.266576"], ["updated_at", "2016-04-09 11:54:58.266576"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 258], ["created_at", "2016-04-09 11:54:58.267956"], ["updated_at", "2016-04-09 11:54:58.267956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:54:58.300366"], ["updated_at", "2016-04-09 11:54:58.300366"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:54:58.302288"], ["updated_at", "2016-04-09 11:54:58.302288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:54:58.303818"], ["updated_at", "2016-04-09 11:54:58.303818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:54:58.320936"], ["updated_at", "2016-04-09 11:54:58.320936"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:58.327703"], ["updated_at", "2016-04-09 11:54:58.327703"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 259], ["created_at", "2016-04-09 11:54:58.329116"], ["updated_at", "2016-04-09 11:54:58.329116"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:58.331495"], ["updated_at", "2016-04-09 11:54:58.331495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 260], ["created_at", "2016-04-09 11:54:58.332759"], ["updated_at", "2016-04-09 11:54:58.332759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:58.334416"], ["updated_at", "2016-04-09 11:54:58.334416"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:54:58.342625"], ["updated_at", "2016-04-09 11:54:58.342625"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 261], ["created_at", "2016-04-09 11:54:58.344193"], ["updated_at", "2016-04-09 11:54:58.344193"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 261], ["created_at", "2016-04-09 11:54:58.346594"], ["updated_at", "2016-04-09 11:54:58.346594"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:54:58.348309"], ["updated_at", "2016-04-09 11:54:58.348309"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:54:58.350698"], ["updated_at", "2016-04-09 11:54:58.350698"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 262], ["created_at", "2016-04-09 11:54:58.352300"], ["updated_at", "2016-04-09 11:54:58.352300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 262], ["created_at", "2016-04-09 11:54:58.355500"], ["updated_at", "2016-04-09 11:54:58.355500"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 262], ["created_at", "2016-04-09 11:54:58.358928"], ["updated_at", "2016-04-09 11:54:58.358928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:54:58.380321"], ["updated_at", "2016-04-09 11:54:58.380321"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 263], ["updated_at", "2016-04-09 11:54:58.381959"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 263], ["updated_at", "2016-04-09 11:54:58.384999"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:54:58.387571"], ["updated_at", "2016-04-09 11:54:58.387571"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 264], ["updated_at", "2016-04-09 11:54:58.389373"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 264], ["updated_at", "2016-04-09 11:54:58.392561"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.430397"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.432665"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:58.434452"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.436158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.440643"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.442447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:58.444412"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.446202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.454241"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.457333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:58.459043"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.460674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.522391"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.525052"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:58.527292"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.529274"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.533106"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.535456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:58.537633"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.540416"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.549880"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.551993"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:54:58.554099"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:54:58.557066"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:01.371625"], ["updated_at", "2016-04-09 11:55:01.371625"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 265], ["created_at", "2016-04-09 11:55:01.374212"], ["updated_at", "2016-04-09 11:55:01.374212"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 265], ["created_at", "2016-04-09 11:55:01.377131"], ["updated_at", "2016-04-09 11:55:01.377131"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:01.379609"], ["updated_at", "2016-04-09 11:55:01.379609"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 266], ["created_at", "2016-04-09 11:55:01.381318"], ["updated_at", "2016-04-09 11:55:01.381318"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 266], ["created_at", "2016-04-09 11:55:01.384981"], ["updated_at", "2016-04-09 11:55:01.384981"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 266], ["created_at", "2016-04-09 11:55:01.387329"], ["updated_at", "2016-04-09 11:55:01.387329"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:01.389846"], ["updated_at", "2016-04-09 11:55:01.389846"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 267], ["created_at", "2016-04-09 11:55:01.391404"], ["updated_at", "2016-04-09 11:55:01.391404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:01.402823"], ["updated_at", "2016-04-09 11:55:01.402823"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 268], ["created_at", "2016-04-09 11:55:01.404435"], ["updated_at", "2016-04-09 11:55:01.404435"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 268], ["created_at", "2016-04-09 11:55:01.407312"], ["updated_at", "2016-04-09 11:55:01.407312"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:01.409785"], ["updated_at", "2016-04-09 11:55:01.409785"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 269], ["created_at", "2016-04-09 11:55:01.411336"], ["updated_at", "2016-04-09 11:55:01.411336"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 269], ["created_at", "2016-04-09 11:55:01.413697"], ["updated_at", "2016-04-09 11:55:01.413697"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 269], ["created_at", "2016-04-09 11:55:01.416027"], ["updated_at", "2016-04-09 11:55:01.416027"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:01.418397"], ["updated_at", "2016-04-09 11:55:01.418397"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 270], ["created_at", "2016-04-09 11:55:01.419939"], ["updated_at", "2016-04-09 11:55:01.419939"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:01.425045"], ["updated_at", "2016-04-09 11:55:01.425045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 271], ["created_at", "2016-04-09 11:55:01.426507"], ["updated_at", "2016-04-09 11:55:01.426507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 271], ["created_at", "2016-04-09 11:55:01.428682"], ["updated_at", "2016-04-09 11:55:01.428682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:01.431076"], ["updated_at", "2016-04-09 11:55:01.431076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 272], ["created_at", "2016-04-09 11:55:01.432572"], ["updated_at", "2016-04-09 11:55:01.432572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 272], ["created_at", "2016-04-09 11:55:01.434881"], ["updated_at", "2016-04-09 11:55:01.434881"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 272], ["created_at", "2016-04-09 11:55:01.437533"], ["updated_at", "2016-04-09 11:55:01.437533"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:01.441289"], ["updated_at", "2016-04-09 11:55:01.441289"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 273], ["created_at", "2016-04-09 11:55:01.442590"], ["updated_at", "2016-04-09 11:55:01.442590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:01.446788"], ["updated_at", "2016-04-09 11:55:01.446788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 274], ["created_at", "2016-04-09 11:55:01.448171"], ["updated_at", "2016-04-09 11:55:01.448171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 274], ["created_at", "2016-04-09 11:55:01.450115"], ["updated_at", "2016-04-09 11:55:01.450115"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:01.452220"], ["updated_at", "2016-04-09 11:55:01.452220"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 275], ["created_at", "2016-04-09 11:55:01.453467"], ["updated_at", "2016-04-09 11:55:01.453467"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 275], ["created_at", "2016-04-09 11:55:01.455490"], ["updated_at", "2016-04-09 11:55:01.455490"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 275], ["created_at", "2016-04-09 11:55:01.457486"], ["updated_at", "2016-04-09 11:55:01.457486"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:01.459754"], ["updated_at", "2016-04-09 11:55:01.459754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 276], ["created_at", "2016-04-09 11:55:01.461192"], ["updated_at", "2016-04-09 11:55:01.461192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:01.466135"], ["updated_at", "2016-04-09 11:55:01.466135"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 277], ["created_at", "2016-04-09 11:55:01.467746"], ["updated_at", "2016-04-09 11:55:01.467746"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 277], ["created_at", "2016-04-09 11:55:01.470088"], ["updated_at", "2016-04-09 11:55:01.470088"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:01.473010"], ["updated_at", "2016-04-09 11:55:01.473010"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 278], ["created_at", "2016-04-09 11:55:01.474585"], ["updated_at", "2016-04-09 11:55:01.474585"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 278], ["created_at", "2016-04-09 11:55:01.476967"], ["updated_at", "2016-04-09 11:55:01.476967"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 278], ["created_at", "2016-04-09 11:55:01.479239"], ["updated_at", "2016-04-09 11:55:01.479239"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:01.482094"], ["updated_at", "2016-04-09 11:55:01.482094"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 279], ["created_at", "2016-04-09 11:55:01.483578"], ["updated_at", "2016-04-09 11:55:01.483578"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:01.488558"], ["updated_at", "2016-04-09 11:55:01.488558"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 280], ["created_at", "2016-04-09 11:55:01.491063"], ["updated_at", "2016-04-09 11:55:01.491063"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 280], ["created_at", "2016-04-09 11:55:01.493267"], ["updated_at", "2016-04-09 11:55:01.493267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:01.495267"], ["updated_at", "2016-04-09 11:55:01.495267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 281], ["created_at", "2016-04-09 11:55:01.496632"], ["updated_at", "2016-04-09 11:55:01.496632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 281], ["created_at", "2016-04-09 11:55:01.498745"], ["updated_at", "2016-04-09 11:55:01.498745"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 281], ["created_at", "2016-04-09 11:55:01.500747"], ["updated_at", "2016-04-09 11:55:01.500747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:01.502786"], ["updated_at", "2016-04-09 11:55:01.502786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 282], ["created_at", "2016-04-09 11:55:01.504005"], ["updated_at", "2016-04-09 11:55:01.504005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:01.534273"], ["updated_at", "2016-04-09 11:55:01.534273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:01.536205"], ["updated_at", "2016-04-09 11:55:01.536205"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:01.537931"], ["updated_at", "2016-04-09 11:55:01.537931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:01.556088"], ["updated_at", "2016-04-09 11:55:01.556088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:01.562772"], ["updated_at", "2016-04-09 11:55:01.562772"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 283], ["created_at", "2016-04-09 11:55:01.564421"], ["updated_at", "2016-04-09 11:55:01.564421"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:01.567061"], ["updated_at", "2016-04-09 11:55:01.567061"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 284], ["created_at", "2016-04-09 11:55:01.568608"], ["updated_at", "2016-04-09 11:55:01.568608"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:01.570334"], ["updated_at", "2016-04-09 11:55:01.570334"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.7ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:01.579628"], ["updated_at", "2016-04-09 11:55:01.579628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 285], ["created_at", "2016-04-09 11:55:01.581039"], ["updated_at", "2016-04-09 11:55:01.581039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 285], ["created_at", "2016-04-09 11:55:01.583087"], ["updated_at", "2016-04-09 11:55:01.583087"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:01.584686"], ["updated_at", "2016-04-09 11:55:01.584686"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:01.586692"], ["updated_at", "2016-04-09 11:55:01.586692"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 286], ["created_at", "2016-04-09 11:55:01.588013"], ["updated_at", "2016-04-09 11:55:01.588013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 286], ["created_at", "2016-04-09 11:55:01.590059"], ["updated_at", "2016-04-09 11:55:01.590059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 286], ["created_at", "2016-04-09 11:55:01.592257"], ["updated_at", "2016-04-09 11:55:01.592257"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:01.617246"], ["updated_at", "2016-04-09 11:55:01.617246"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 287], ["updated_at", "2016-04-09 11:55:01.618814"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 287], ["updated_at", "2016-04-09 11:55:01.621661"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:01.624832"], ["updated_at", "2016-04-09 11:55:01.624832"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 288], ["updated_at", "2016-04-09 11:55:01.626379"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 288], ["updated_at", "2016-04-09 11:55:01.628931"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.9ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.667945"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.670061"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:01.671864"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.673624"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.678087"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.679950"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:01.681701"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.683434"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.1ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.692656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.694329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:01.695877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.697622"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.774464"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.776639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:01.778649"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.780864"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.784934"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.787102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:01.789508"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.791538"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.801027"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.803014"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:01.804865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:01.807866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:04.630241"], ["updated_at", "2016-04-09 11:55:04.630241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 289], ["created_at", "2016-04-09 11:55:04.632510"], ["updated_at", "2016-04-09 11:55:04.632510"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 289], ["created_at", "2016-04-09 11:55:04.635368"], ["updated_at", "2016-04-09 11:55:04.635368"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:04.638039"], ["updated_at", "2016-04-09 11:55:04.638039"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 290], ["created_at", "2016-04-09 11:55:04.639902"], ["updated_at", "2016-04-09 11:55:04.639902"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 290], ["created_at", "2016-04-09 11:55:04.642478"], ["updated_at", "2016-04-09 11:55:04.642478"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 290], ["created_at", "2016-04-09 11:55:04.644763"], ["updated_at", "2016-04-09 11:55:04.644763"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:04.647214"], ["updated_at", "2016-04-09 11:55:04.647214"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 291], ["created_at", "2016-04-09 11:55:04.648696"], ["updated_at", "2016-04-09 11:55:04.648696"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:04.661303"], ["updated_at", "2016-04-09 11:55:04.661303"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 292], ["created_at", "2016-04-09 11:55:04.662878"], ["updated_at", "2016-04-09 11:55:04.662878"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 292], ["created_at", "2016-04-09 11:55:04.665228"], ["updated_at", "2016-04-09 11:55:04.665228"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:04.667694"], ["updated_at", "2016-04-09 11:55:04.667694"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 293], ["created_at", "2016-04-09 11:55:04.669288"], ["updated_at", "2016-04-09 11:55:04.669288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 293], ["created_at", "2016-04-09 11:55:04.671630"], ["updated_at", "2016-04-09 11:55:04.671630"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 293], ["created_at", "2016-04-09 11:55:04.674011"], ["updated_at", "2016-04-09 11:55:04.674011"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:04.676341"], ["updated_at", "2016-04-09 11:55:04.676341"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 294], ["created_at", "2016-04-09 11:55:04.677865"], ["updated_at", "2016-04-09 11:55:04.677865"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:04.682800"], ["updated_at", "2016-04-09 11:55:04.682800"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 295], ["created_at", "2016-04-09 11:55:04.684381"], ["updated_at", "2016-04-09 11:55:04.684381"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 295], ["created_at", "2016-04-09 11:55:04.686761"], ["updated_at", "2016-04-09 11:55:04.686761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:04.689177"], ["updated_at", "2016-04-09 11:55:04.689177"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 296], ["created_at", "2016-04-09 11:55:04.690714"], ["updated_at", "2016-04-09 11:55:04.690714"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 296], ["created_at", "2016-04-09 11:55:04.692970"], ["updated_at", "2016-04-09 11:55:04.692970"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 296], ["created_at", "2016-04-09 11:55:04.695931"], ["updated_at", "2016-04-09 11:55:04.695931"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:04.698572"], ["updated_at", "2016-04-09 11:55:04.698572"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 297], ["created_at", "2016-04-09 11:55:04.700153"], ["updated_at", "2016-04-09 11:55:04.700153"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:04.705079"], ["updated_at", "2016-04-09 11:55:04.705079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 298], ["created_at", "2016-04-09 11:55:04.707707"], ["updated_at", "2016-04-09 11:55:04.707707"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 298], ["created_at", "2016-04-09 11:55:04.709842"], ["updated_at", "2016-04-09 11:55:04.709842"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:04.711905"], ["updated_at", "2016-04-09 11:55:04.711905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 299], ["created_at", "2016-04-09 11:55:04.713075"], ["updated_at", "2016-04-09 11:55:04.713075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 299], ["created_at", "2016-04-09 11:55:04.714946"], ["updated_at", "2016-04-09 11:55:04.714946"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 299], ["created_at", "2016-04-09 11:55:04.716891"], ["updated_at", "2016-04-09 11:55:04.716891"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:04.719251"], ["updated_at", "2016-04-09 11:55:04.719251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 300], ["created_at", "2016-04-09 11:55:04.720451"], ["updated_at", "2016-04-09 11:55:04.720451"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:04.725068"], ["updated_at", "2016-04-09 11:55:04.725068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 301], ["created_at", "2016-04-09 11:55:04.726301"], ["updated_at", "2016-04-09 11:55:04.726301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 301], ["created_at", "2016-04-09 11:55:04.728441"], ["updated_at", "2016-04-09 11:55:04.728441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:04.730637"], ["updated_at", "2016-04-09 11:55:04.730637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 302], ["created_at", "2016-04-09 11:55:04.731856"], ["updated_at", "2016-04-09 11:55:04.731856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 302], ["created_at", "2016-04-09 11:55:04.733785"], ["updated_at", "2016-04-09 11:55:04.733785"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 302], ["created_at", "2016-04-09 11:55:04.735649"], ["updated_at", "2016-04-09 11:55:04.735649"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:04.737736"], ["updated_at", "2016-04-09 11:55:04.737736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 303], ["created_at", "2016-04-09 11:55:04.740255"], ["updated_at", "2016-04-09 11:55:04.740255"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:04.745363"], ["updated_at", "2016-04-09 11:55:04.745363"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 304], ["created_at", "2016-04-09 11:55:04.746920"], ["updated_at", "2016-04-09 11:55:04.746920"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 304], ["created_at", "2016-04-09 11:55:04.749270"], ["updated_at", "2016-04-09 11:55:04.749270"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:04.751598"], ["updated_at", "2016-04-09 11:55:04.751598"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 305], ["created_at", "2016-04-09 11:55:04.753124"], ["updated_at", "2016-04-09 11:55:04.753124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 305], ["created_at", "2016-04-09 11:55:04.755671"], ["updated_at", "2016-04-09 11:55:04.755671"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 305], ["created_at", "2016-04-09 11:55:04.759404"], ["updated_at", "2016-04-09 11:55:04.759404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:04.761842"], ["updated_at", "2016-04-09 11:55:04.761842"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 306], ["created_at", "2016-04-09 11:55:04.763380"], ["updated_at", "2016-04-09 11:55:04.763380"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:04.795190"], ["updated_at", "2016-04-09 11:55:04.795190"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:04.797146"], ["updated_at", "2016-04-09 11:55:04.797146"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:04.798824"], ["updated_at", "2016-04-09 11:55:04.798824"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:04.815151"], ["updated_at", "2016-04-09 11:55:04.815151"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:04.821597"], ["updated_at", "2016-04-09 11:55:04.821597"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 307], ["created_at", "2016-04-09 11:55:04.824828"], ["updated_at", "2016-04-09 11:55:04.824828"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:04.827671"], ["updated_at", "2016-04-09 11:55:04.827671"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 308], ["created_at", "2016-04-09 11:55:04.829080"], ["updated_at", "2016-04-09 11:55:04.829080"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:04.830645"], ["updated_at", "2016-04-09 11:55:04.830645"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:04.838684"], ["updated_at", "2016-04-09 11:55:04.838684"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 309], ["created_at", "2016-04-09 11:55:04.840216"], ["updated_at", "2016-04-09 11:55:04.840216"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 309], ["created_at", "2016-04-09 11:55:04.842473"], ["updated_at", "2016-04-09 11:55:04.842473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:04.844159"], ["updated_at", "2016-04-09 11:55:04.844159"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:04.846378"], ["updated_at", "2016-04-09 11:55:04.846378"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 310], ["created_at", "2016-04-09 11:55:04.848056"], ["updated_at", "2016-04-09 11:55:04.848056"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 310], ["created_at", "2016-04-09 11:55:04.851545"], ["updated_at", "2016-04-09 11:55:04.851545"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 310], ["created_at", "2016-04-09 11:55:04.854237"], ["updated_at", "2016-04-09 11:55:04.854237"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.9ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:04.877765"], ["updated_at", "2016-04-09 11:55:04.877765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 311], ["updated_at", "2016-04-09 11:55:04.879222"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 311], ["updated_at", "2016-04-09 11:55:04.881901"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:04.884353"], ["updated_at", "2016-04-09 11:55:04.884353"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 312], ["updated_at", "2016-04-09 11:55:04.885745"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 312], ["updated_at", "2016-04-09 11:55:04.888099"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.2ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.923750"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.926103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:04.927977"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.929798"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.934415"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.936408"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:04.938459"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.940316"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.949119"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.951171"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:04.953024"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:04.954921"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.030769"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.033296"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:05.035471"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.037974"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.042299"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.044674"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:05.046667"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.048975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.058476"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.060603"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:05.062853"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:05.065462"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:07.793833"], ["updated_at", "2016-04-09 11:55:07.793833"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 313], ["created_at", "2016-04-09 11:55:07.796245"], ["updated_at", "2016-04-09 11:55:07.796245"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 313], ["created_at", "2016-04-09 11:55:07.799125"], ["updated_at", "2016-04-09 11:55:07.799125"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:07.801577"], ["updated_at", "2016-04-09 11:55:07.801577"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 314], ["created_at", "2016-04-09 11:55:07.803091"], ["updated_at", "2016-04-09 11:55:07.803091"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 314], ["created_at", "2016-04-09 11:55:07.805543"], ["updated_at", "2016-04-09 11:55:07.805543"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 314], ["created_at", "2016-04-09 11:55:07.807913"], ["updated_at", "2016-04-09 11:55:07.807913"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:07.810185"], ["updated_at", "2016-04-09 11:55:07.810185"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 315], ["created_at", "2016-04-09 11:55:07.811648"], ["updated_at", "2016-04-09 11:55:07.811648"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:07.822648"], ["updated_at", "2016-04-09 11:55:07.822648"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 316], ["created_at", "2016-04-09 11:55:07.824236"], ["updated_at", "2016-04-09 11:55:07.824236"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 316], ["created_at", "2016-04-09 11:55:07.826638"], ["updated_at", "2016-04-09 11:55:07.826638"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:07.828986"], ["updated_at", "2016-04-09 11:55:07.828986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 317], ["created_at", "2016-04-09 11:55:07.830526"], ["updated_at", "2016-04-09 11:55:07.830526"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 317], ["created_at", "2016-04-09 11:55:07.832888"], ["updated_at", "2016-04-09 11:55:07.832888"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 317], ["created_at", "2016-04-09 11:55:07.835199"], ["updated_at", "2016-04-09 11:55:07.835199"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:07.837556"], ["updated_at", "2016-04-09 11:55:07.837556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 318], ["created_at", "2016-04-09 11:55:07.839045"], ["updated_at", "2016-04-09 11:55:07.839045"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:07.844049"], ["updated_at", "2016-04-09 11:55:07.844049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 319], ["created_at", "2016-04-09 11:55:07.845610"], ["updated_at", "2016-04-09 11:55:07.845610"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 319], ["created_at", "2016-04-09 11:55:07.847934"], ["updated_at", "2016-04-09 11:55:07.847934"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:07.850175"], ["updated_at", "2016-04-09 11:55:07.850175"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 320], ["created_at", "2016-04-09 11:55:07.851594"], ["updated_at", "2016-04-09 11:55:07.851594"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 320], ["created_at", "2016-04-09 11:55:07.853799"], ["updated_at", "2016-04-09 11:55:07.853799"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 320], ["created_at", "2016-04-09 11:55:07.856992"], ["updated_at", "2016-04-09 11:55:07.856992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:07.859580"], ["updated_at", "2016-04-09 11:55:07.859580"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 321], ["created_at", "2016-04-09 11:55:07.861093"], ["updated_at", "2016-04-09 11:55:07.861093"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:07.866029"], ["updated_at", "2016-04-09 11:55:07.866029"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 322], ["created_at", "2016-04-09 11:55:07.867575"], ["updated_at", "2016-04-09 11:55:07.867575"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 322], ["created_at", "2016-04-09 11:55:07.869951"], ["updated_at", "2016-04-09 11:55:07.869951"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:07.873408"], ["updated_at", "2016-04-09 11:55:07.873408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 323], ["created_at", "2016-04-09 11:55:07.875274"], ["updated_at", "2016-04-09 11:55:07.875274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 323], ["created_at", "2016-04-09 11:55:07.877330"], ["updated_at", "2016-04-09 11:55:07.877330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 323], ["created_at", "2016-04-09 11:55:07.879418"], ["updated_at", "2016-04-09 11:55:07.879418"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:07.881374"], ["updated_at", "2016-04-09 11:55:07.881374"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 324], ["created_at", "2016-04-09 11:55:07.882621"], ["updated_at", "2016-04-09 11:55:07.882621"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:07.887060"], ["updated_at", "2016-04-09 11:55:07.887060"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 325], ["created_at", "2016-04-09 11:55:07.888514"], ["updated_at", "2016-04-09 11:55:07.888514"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 325], ["created_at", "2016-04-09 11:55:07.891202"], ["updated_at", "2016-04-09 11:55:07.891202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:07.893279"], ["updated_at", "2016-04-09 11:55:07.893279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 326], ["created_at", "2016-04-09 11:55:07.894723"], ["updated_at", "2016-04-09 11:55:07.894723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 326], ["created_at", "2016-04-09 11:55:07.896922"], ["updated_at", "2016-04-09 11:55:07.896922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 326], ["created_at", "2016-04-09 11:55:07.899628"], ["updated_at", "2016-04-09 11:55:07.899628"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:07.902070"], ["updated_at", "2016-04-09 11:55:07.902070"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 327], ["created_at", "2016-04-09 11:55:07.903690"], ["updated_at", "2016-04-09 11:55:07.903690"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:07.909811"], ["updated_at", "2016-04-09 11:55:07.909811"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 328], ["created_at", "2016-04-09 11:55:07.911335"], ["updated_at", "2016-04-09 11:55:07.911335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 328], ["created_at", "2016-04-09 11:55:07.913535"], ["updated_at", "2016-04-09 11:55:07.913535"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:07.915813"], ["updated_at", "2016-04-09 11:55:07.915813"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 329], ["created_at", "2016-04-09 11:55:07.917171"], ["updated_at", "2016-04-09 11:55:07.917171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 329], ["created_at", "2016-04-09 11:55:07.919338"], ["updated_at", "2016-04-09 11:55:07.919338"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 329], ["created_at", "2016-04-09 11:55:07.921486"], ["updated_at", "2016-04-09 11:55:07.921486"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:07.923759"], ["updated_at", "2016-04-09 11:55:07.923759"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 330], ["created_at", "2016-04-09 11:55:07.925129"], ["updated_at", "2016-04-09 11:55:07.925129"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.5ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:07.956607"], ["updated_at", "2016-04-09 11:55:07.956607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:07.959035"], ["updated_at", "2016-04-09 11:55:07.959035"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:07.960721"], ["updated_at", "2016-04-09 11:55:07.960721"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:07.977723"], ["updated_at", "2016-04-09 11:55:07.977723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:07.984388"], ["updated_at", "2016-04-09 11:55:07.984388"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 331], ["created_at", "2016-04-09 11:55:07.985997"], ["updated_at", "2016-04-09 11:55:07.985997"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:07.988685"], ["updated_at", "2016-04-09 11:55:07.988685"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 332], ["created_at", "2016-04-09 11:55:07.991440"], ["updated_at", "2016-04-09 11:55:07.991440"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:07.993021"], ["updated_at", "2016-04-09 11:55:07.993021"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.2ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:08.001045"], ["updated_at", "2016-04-09 11:55:08.001045"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 333], ["created_at", "2016-04-09 11:55:08.002637"], ["updated_at", "2016-04-09 11:55:08.002637"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 333], ["created_at", "2016-04-09 11:55:08.005094"], ["updated_at", "2016-04-09 11:55:08.005094"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:08.007235"], ["updated_at", "2016-04-09 11:55:08.007235"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:08.009704"], ["updated_at", "2016-04-09 11:55:08.009704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 334], ["created_at", "2016-04-09 11:55:08.011180"], ["updated_at", "2016-04-09 11:55:08.011180"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 334], ["created_at", "2016-04-09 11:55:08.013557"], ["updated_at", "2016-04-09 11:55:08.013557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 334], ["created_at", "2016-04-09 11:55:08.016180"], ["updated_at", "2016-04-09 11:55:08.016180"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:08.039805"], ["updated_at", "2016-04-09 11:55:08.039805"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 335], ["updated_at", "2016-04-09 11:55:08.041656"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 335], ["updated_at", "2016-04-09 11:55:08.044456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:08.046979"], ["updated_at", "2016-04-09 11:55:08.046979"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 336], ["updated_at", "2016-04-09 11:55:08.048487"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 336], ["updated_at", "2016-04-09 11:55:08.050912"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.7ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.087366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.089986"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:08.091909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.093731"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.098317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.100320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:08.102170"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.103869"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.112319"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.114387"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:08.116441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.118404"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.7ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.202313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.205068"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:08.207076"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.208988"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.213580"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.215775"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:08.217762"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.219688"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.229818"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.232182"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:08.234622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:08.236996"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT MIN(posts.created_at) FROM "posts"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:21.570497"], ["updated_at", "2016-04-09 11:55:21.570497"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 337], ["created_at", "2016-04-09 11:55:21.573476"], ["updated_at", "2016-04-09 11:55:21.573476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 337], ["created_at", "2016-04-09 11:55:21.576597"], ["updated_at", "2016-04-09 11:55:21.576597"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:21.579085"], ["updated_at", "2016-04-09 11:55:21.579085"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 338], ["created_at", "2016-04-09 11:55:21.580629"], ["updated_at", "2016-04-09 11:55:21.580629"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 338], ["created_at", "2016-04-09 11:55:21.582980"], ["updated_at", "2016-04-09 11:55:21.582980"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 338], ["created_at", "2016-04-09 11:55:21.585379"], ["updated_at", "2016-04-09 11:55:21.585379"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:21.587823"], ["updated_at", "2016-04-09 11:55:21.587823"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 339], ["created_at", "2016-04-09 11:55:21.589410"], ["updated_at", "2016-04-09 11:55:21.589410"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:21.601628"], ["updated_at", "2016-04-09 11:55:21.601628"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 340], ["created_at", "2016-04-09 11:55:21.603233"], ["updated_at", "2016-04-09 11:55:21.603233"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 340], ["created_at", "2016-04-09 11:55:21.605686"], ["updated_at", "2016-04-09 11:55:21.605686"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:21.608248"], ["updated_at", "2016-04-09 11:55:21.608248"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 341], ["created_at", "2016-04-09 11:55:21.609758"], ["updated_at", "2016-04-09 11:55:21.609758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 341], ["created_at", "2016-04-09 11:55:21.611997"], ["updated_at", "2016-04-09 11:55:21.611997"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 341], ["created_at", "2016-04-09 11:55:21.614357"], ["updated_at", "2016-04-09 11:55:21.614357"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:21.616723"], ["updated_at", "2016-04-09 11:55:21.616723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 342], ["created_at", "2016-04-09 11:55:21.618213"], ["updated_at", "2016-04-09 11:55:21.618213"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:21.623249"], ["updated_at", "2016-04-09 11:55:21.623249"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 343], ["created_at", "2016-04-09 11:55:21.624830"], ["updated_at", "2016-04-09 11:55:21.624830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 343], ["created_at", "2016-04-09 11:55:21.627098"], ["updated_at", "2016-04-09 11:55:21.627098"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:21.629466"], ["updated_at", "2016-04-09 11:55:21.629466"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 344], ["created_at", "2016-04-09 11:55:21.630943"], ["updated_at", "2016-04-09 11:55:21.630943"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 344], ["created_at", "2016-04-09 11:55:21.633453"], ["updated_at", "2016-04-09 11:55:21.633453"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 344], ["created_at", "2016-04-09 11:55:21.636248"], ["updated_at", "2016-04-09 11:55:21.636248"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:21.638677"], ["updated_at", "2016-04-09 11:55:21.638677"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 345], ["created_at", "2016-04-09 11:55:21.641540"], ["updated_at", "2016-04-09 11:55:21.641540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:21.646217"], ["updated_at", "2016-04-09 11:55:21.646217"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 346], ["created_at", "2016-04-09 11:55:21.647740"], ["updated_at", "2016-04-09 11:55:21.647740"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 346], ["created_at", "2016-04-09 11:55:21.650118"], ["updated_at", "2016-04-09 11:55:21.650118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:21.652451"], ["updated_at", "2016-04-09 11:55:21.652451"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 347], ["created_at", "2016-04-09 11:55:21.653921"], ["updated_at", "2016-04-09 11:55:21.653921"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 347], ["created_at", "2016-04-09 11:55:21.656461"], ["updated_at", "2016-04-09 11:55:21.656461"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 347], ["created_at", "2016-04-09 11:55:21.658668"], ["updated_at", "2016-04-09 11:55:21.658668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:21.660896"], ["updated_at", "2016-04-09 11:55:21.660896"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 348], ["created_at", "2016-04-09 11:55:21.662415"], ["updated_at", "2016-04-09 11:55:21.662415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:21.667307"], ["updated_at", "2016-04-09 11:55:21.667307"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 349], ["created_at", "2016-04-09 11:55:21.668675"], ["updated_at", "2016-04-09 11:55:21.668675"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 349], ["created_at", "2016-04-09 11:55:21.671051"], ["updated_at", "2016-04-09 11:55:21.671051"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:21.673638"], ["updated_at", "2016-04-09 11:55:21.673638"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 350], ["created_at", "2016-04-09 11:55:21.675309"], ["updated_at", "2016-04-09 11:55:21.675309"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 350], ["created_at", "2016-04-09 11:55:21.677540"], ["updated_at", "2016-04-09 11:55:21.677540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 350], ["created_at", "2016-04-09 11:55:21.680369"], ["updated_at", "2016-04-09 11:55:21.680369"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:21.682793"], ["updated_at", "2016-04-09 11:55:21.682793"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 351], ["created_at", "2016-04-09 11:55:21.684241"], ["updated_at", "2016-04-09 11:55:21.684241"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:21.689025"], ["updated_at", "2016-04-09 11:55:21.689025"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 352], ["created_at", "2016-04-09 11:55:21.691415"], ["updated_at", "2016-04-09 11:55:21.691415"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 352], ["created_at", "2016-04-09 11:55:21.693691"], ["updated_at", "2016-04-09 11:55:21.693691"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:21.695697"], ["updated_at", "2016-04-09 11:55:21.695697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 353], ["created_at", "2016-04-09 11:55:21.696910"], ["updated_at", "2016-04-09 11:55:21.696910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 353], ["created_at", "2016-04-09 11:55:21.698819"], ["updated_at", "2016-04-09 11:55:21.698819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 353], ["created_at", "2016-04-09 11:55:21.700741"], ["updated_at", "2016-04-09 11:55:21.700741"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:21.702697"], ["updated_at", "2016-04-09 11:55:21.702697"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 354], ["created_at", "2016-04-09 11:55:21.703864"], ["updated_at", "2016-04-09 11:55:21.703864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:21.734811"], ["updated_at", "2016-04-09 11:55:21.734811"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:21.736792"], ["updated_at", "2016-04-09 11:55:21.736792"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:21.738570"], ["updated_at", "2016-04-09 11:55:21.738570"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:21.754788"], ["updated_at", "2016-04-09 11:55:21.754788"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:21.762066"], ["updated_at", "2016-04-09 11:55:21.762066"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 355], ["created_at", "2016-04-09 11:55:21.763643"], ["updated_at", "2016-04-09 11:55:21.763643"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:21.766224"], ["updated_at", "2016-04-09 11:55:21.766224"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 356], ["created_at", "2016-04-09 11:55:21.767705"], ["updated_at", "2016-04-09 11:55:21.767705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:21.769433"], ["updated_at", "2016-04-09 11:55:21.769433"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.7ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:21.779002"], ["updated_at", "2016-04-09 11:55:21.779002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 357], ["created_at", "2016-04-09 11:55:21.780328"], ["updated_at", "2016-04-09 11:55:21.780328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 357], ["created_at", "2016-04-09 11:55:21.782335"], ["updated_at", "2016-04-09 11:55:21.782335"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:21.783886"], ["updated_at", "2016-04-09 11:55:21.783886"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:21.786161"], ["updated_at", "2016-04-09 11:55:21.786161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 358], ["created_at", "2016-04-09 11:55:21.787461"], ["updated_at", "2016-04-09 11:55:21.787461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 358], ["created_at", "2016-04-09 11:55:21.790071"], ["updated_at", "2016-04-09 11:55:21.790071"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 358], ["created_at", "2016-04-09 11:55:21.792690"], ["updated_at", "2016-04-09 11:55:21.792690"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:21.816865"], ["updated_at", "2016-04-09 11:55:21.816865"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 359], ["updated_at", "2016-04-09 11:55:21.818507"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 359], ["updated_at", "2016-04-09 11:55:21.821250"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:21.823907"], ["updated_at", "2016-04-09 11:55:21.823907"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 360], ["updated_at", "2016-04-09 11:55:21.825465"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 360], ["updated_at", "2016-04-09 11:55:21.827902"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.866411"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.868428"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:21.870158"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.871932"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.876503"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.878580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:21.880275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.881937"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.890542"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.893049"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:21.894760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.896397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.966143"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.969511"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:21.973275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.975385"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.979224"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.981520"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:21.983427"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.985648"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.995342"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:21.998175"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:22.000296"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:22.002834"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:24.274806"], ["updated_at", "2016-04-09 11:55:24.274806"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 361], ["created_at", "2016-04-09 11:55:24.277156"], ["updated_at", "2016-04-09 11:55:24.277156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 361], ["created_at", "2016-04-09 11:55:24.280072"], ["updated_at", "2016-04-09 11:55:24.280072"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:24.282533"], ["updated_at", "2016-04-09 11:55:24.282533"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 362], ["created_at", "2016-04-09 11:55:24.284046"], ["updated_at", "2016-04-09 11:55:24.284046"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 362], ["created_at", "2016-04-09 11:55:24.286469"], ["updated_at", "2016-04-09 11:55:24.286469"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 362], ["created_at", "2016-04-09 11:55:24.288883"], ["updated_at", "2016-04-09 11:55:24.288883"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:24.291458"], ["updated_at", "2016-04-09 11:55:24.291458"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 363], ["created_at", "2016-04-09 11:55:24.292982"], ["updated_at", "2016-04-09 11:55:24.292982"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:24.304335"], ["updated_at", "2016-04-09 11:55:24.304335"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 364], ["created_at", "2016-04-09 11:55:24.306022"], ["updated_at", "2016-04-09 11:55:24.306022"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 364], ["created_at", "2016-04-09 11:55:24.308853"], ["updated_at", "2016-04-09 11:55:24.308853"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:24.311269"], ["updated_at", "2016-04-09 11:55:24.311269"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 365], ["created_at", "2016-04-09 11:55:24.312829"], ["updated_at", "2016-04-09 11:55:24.312829"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 365], ["created_at", "2016-04-09 11:55:24.315149"], ["updated_at", "2016-04-09 11:55:24.315149"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 365], ["created_at", "2016-04-09 11:55:24.317477"], ["updated_at", "2016-04-09 11:55:24.317477"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:24.319866"], ["updated_at", "2016-04-09 11:55:24.319866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 366], ["created_at", "2016-04-09 11:55:24.321359"], ["updated_at", "2016-04-09 11:55:24.321359"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:24.326351"], ["updated_at", "2016-04-09 11:55:24.326351"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 367], ["created_at", "2016-04-09 11:55:24.327963"], ["updated_at", "2016-04-09 11:55:24.327963"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 367], ["created_at", "2016-04-09 11:55:24.330274"], ["updated_at", "2016-04-09 11:55:24.330274"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:24.332641"], ["updated_at", "2016-04-09 11:55:24.332641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 368], ["created_at", "2016-04-09 11:55:24.334148"], ["updated_at", "2016-04-09 11:55:24.334148"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 368], ["created_at", "2016-04-09 11:55:24.336799"], ["updated_at", "2016-04-09 11:55:24.336799"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 368], ["created_at", "2016-04-09 11:55:24.339664"], ["updated_at", "2016-04-09 11:55:24.339664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:24.343012"], ["updated_at", "2016-04-09 11:55:24.343012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 369], ["created_at", "2016-04-09 11:55:24.344243"], ["updated_at", "2016-04-09 11:55:24.344243"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:24.348350"], ["updated_at", "2016-04-09 11:55:24.348350"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 370], ["created_at", "2016-04-09 11:55:24.349647"], ["updated_at", "2016-04-09 11:55:24.349647"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 370], ["created_at", "2016-04-09 11:55:24.351595"], ["updated_at", "2016-04-09 11:55:24.351595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:24.353571"], ["updated_at", "2016-04-09 11:55:24.353571"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 371], ["created_at", "2016-04-09 11:55:24.354734"], ["updated_at", "2016-04-09 11:55:24.354734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 371], ["created_at", "2016-04-09 11:55:24.356835"], ["updated_at", "2016-04-09 11:55:24.356835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 371], ["created_at", "2016-04-09 11:55:24.358746"], ["updated_at", "2016-04-09 11:55:24.358746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:24.360699"], ["updated_at", "2016-04-09 11:55:24.360699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 372], ["created_at", "2016-04-09 11:55:24.361885"], ["updated_at", "2016-04-09 11:55:24.361885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:24.366533"], ["updated_at", "2016-04-09 11:55:24.366533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 373], ["created_at", "2016-04-09 11:55:24.367826"], ["updated_at", "2016-04-09 11:55:24.367826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 373], ["created_at", "2016-04-09 11:55:24.369858"], ["updated_at", "2016-04-09 11:55:24.369858"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:24.371757"], ["updated_at", "2016-04-09 11:55:24.371757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 374], ["created_at", "2016-04-09 11:55:24.373599"], ["updated_at", "2016-04-09 11:55:24.373599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 374], ["created_at", "2016-04-09 11:55:24.375945"], ["updated_at", "2016-04-09 11:55:24.375945"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 374], ["created_at", "2016-04-09 11:55:24.378334"], ["updated_at", "2016-04-09 11:55:24.378334"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:24.380721"], ["updated_at", "2016-04-09 11:55:24.380721"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 375], ["created_at", "2016-04-09 11:55:24.382625"], ["updated_at", "2016-04-09 11:55:24.382625"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:24.387593"], ["updated_at", "2016-04-09 11:55:24.387593"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 376], ["created_at", "2016-04-09 11:55:24.389590"], ["updated_at", "2016-04-09 11:55:24.389590"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 376], ["created_at", "2016-04-09 11:55:24.392533"], ["updated_at", "2016-04-09 11:55:24.392533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:24.394580"], ["updated_at", "2016-04-09 11:55:24.394580"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 377], ["created_at", "2016-04-09 11:55:24.395954"], ["updated_at", "2016-04-09 11:55:24.395954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 377], ["created_at", "2016-04-09 11:55:24.398002"], ["updated_at", "2016-04-09 11:55:24.398002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 377], ["created_at", "2016-04-09 11:55:24.400034"], ["updated_at", "2016-04-09 11:55:24.400034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:24.402019"], ["updated_at", "2016-04-09 11:55:24.402019"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 378], ["created_at", "2016-04-09 11:55:24.403199"], ["updated_at", "2016-04-09 11:55:24.403199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:24.433387"], ["updated_at", "2016-04-09 11:55:24.433387"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:24.435382"], ["updated_at", "2016-04-09 11:55:24.435382"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:24.437032"], ["updated_at", "2016-04-09 11:55:24.437032"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.5ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:24.453505"], ["updated_at", "2016-04-09 11:55:24.453505"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:24.461553"], ["updated_at", "2016-04-09 11:55:24.461553"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 379], ["created_at", "2016-04-09 11:55:24.463055"], ["updated_at", "2016-04-09 11:55:24.463055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:24.465527"], ["updated_at", "2016-04-09 11:55:24.465527"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 380], ["created_at", "2016-04-09 11:55:24.466966"], ["updated_at", "2016-04-09 11:55:24.466966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:24.468395"], ["updated_at", "2016-04-09 11:55:24.468395"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:24.476670"], ["updated_at", "2016-04-09 11:55:24.476670"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 381], ["created_at", "2016-04-09 11:55:24.478023"], ["updated_at", "2016-04-09 11:55:24.478023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 381], ["created_at", "2016-04-09 11:55:24.480005"], ["updated_at", "2016-04-09 11:55:24.480005"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:24.481388"], ["updated_at", "2016-04-09 11:55:24.481388"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:24.483468"], ["updated_at", "2016-04-09 11:55:24.483468"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 382], ["created_at", "2016-04-09 11:55:24.484737"], ["updated_at", "2016-04-09 11:55:24.484737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 382], ["created_at", "2016-04-09 11:55:24.486731"], ["updated_at", "2016-04-09 11:55:24.486731"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 382], ["created_at", "2016-04-09 11:55:24.489177"], ["updated_at", "2016-04-09 11:55:24.489177"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.6ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:24.514009"], ["updated_at", "2016-04-09 11:55:24.514009"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 383], ["updated_at", "2016-04-09 11:55:24.515527"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 383], ["updated_at", "2016-04-09 11:55:24.518273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:24.520830"], ["updated_at", "2016-04-09 11:55:24.520830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 384], ["updated_at", "2016-04-09 11:55:24.522408"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 384], ["updated_at", "2016-04-09 11:55:24.524924"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.562278"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.564319"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:24.566031"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.567813"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.572103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.574134"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:24.575879"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.577554"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.585830"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.587796"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:24.589760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.592807"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.668287"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.670552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:24.672754"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.675145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.679191"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.681278"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:24.683532"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.685520"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.695118"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.697416"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:24.699460"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:24.701965"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:26.927304"], ["updated_at", "2016-04-09 11:55:26.927304"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 385], ["created_at", "2016-04-09 11:55:26.929616"], ["updated_at", "2016-04-09 11:55:26.929616"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 385], ["created_at", "2016-04-09 11:55:26.932531"], ["updated_at", "2016-04-09 11:55:26.932531"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:26.935031"], ["updated_at", "2016-04-09 11:55:26.935031"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 386], ["created_at", "2016-04-09 11:55:26.936565"], ["updated_at", "2016-04-09 11:55:26.936565"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 386], ["created_at", "2016-04-09 11:55:26.939104"], ["updated_at", "2016-04-09 11:55:26.939104"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 386], ["created_at", "2016-04-09 11:55:26.941497"], ["updated_at", "2016-04-09 11:55:26.941497"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:26.943887"], ["updated_at", "2016-04-09 11:55:26.943887"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 387], ["created_at", "2016-04-09 11:55:26.945437"], ["updated_at", "2016-04-09 11:55:26.945437"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:26.956861"], ["updated_at", "2016-04-09 11:55:26.956861"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 388], ["created_at", "2016-04-09 11:55:26.958554"], ["updated_at", "2016-04-09 11:55:26.958554"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 388], ["created_at", "2016-04-09 11:55:26.960939"], ["updated_at", "2016-04-09 11:55:26.960939"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:26.963395"], ["updated_at", "2016-04-09 11:55:26.963395"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 389], ["created_at", "2016-04-09 11:55:26.964983"], ["updated_at", "2016-04-09 11:55:26.964983"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 389], ["created_at", "2016-04-09 11:55:26.967362"], ["updated_at", "2016-04-09 11:55:26.967362"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 389], ["created_at", "2016-04-09 11:55:26.969629"], ["updated_at", "2016-04-09 11:55:26.969629"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:26.972067"], ["updated_at", "2016-04-09 11:55:26.972067"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 390], ["created_at", "2016-04-09 11:55:26.973669"], ["updated_at", "2016-04-09 11:55:26.973669"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:26.978624"], ["updated_at", "2016-04-09 11:55:26.978624"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 391], ["created_at", "2016-04-09 11:55:26.980221"], ["updated_at", "2016-04-09 11:55:26.980221"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 391], ["created_at", "2016-04-09 11:55:26.982560"], ["updated_at", "2016-04-09 11:55:26.982560"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:26.984859"], ["updated_at", "2016-04-09 11:55:26.984859"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 392], ["created_at", "2016-04-09 11:55:26.986397"], ["updated_at", "2016-04-09 11:55:26.986397"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 392], ["created_at", "2016-04-09 11:55:26.988823"], ["updated_at", "2016-04-09 11:55:26.988823"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 392], ["created_at", "2016-04-09 11:55:26.991776"], ["updated_at", "2016-04-09 11:55:26.991776"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:26.994172"], ["updated_at", "2016-04-09 11:55:26.994172"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 393], ["created_at", "2016-04-09 11:55:26.995716"], ["updated_at", "2016-04-09 11:55:26.995716"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:27.000692"], ["updated_at", "2016-04-09 11:55:27.000692"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 394], ["created_at", "2016-04-09 11:55:27.002288"], ["updated_at", "2016-04-09 11:55:27.002288"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 394], ["created_at", "2016-04-09 11:55:27.004605"], ["updated_at", "2016-04-09 11:55:27.004605"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:27.008891"], ["updated_at", "2016-04-09 11:55:27.008891"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 395], ["created_at", "2016-04-09 11:55:27.010301"], ["updated_at", "2016-04-09 11:55:27.010301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 395], ["created_at", "2016-04-09 11:55:27.012423"], ["updated_at", "2016-04-09 11:55:27.012423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 395], ["created_at", "2016-04-09 11:55:27.014647"], ["updated_at", "2016-04-09 11:55:27.014647"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:27.016912"], ["updated_at", "2016-04-09 11:55:27.016912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 396], ["created_at", "2016-04-09 11:55:27.018416"], ["updated_at", "2016-04-09 11:55:27.018416"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:27.023765"], ["updated_at", "2016-04-09 11:55:27.023765"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 397], ["created_at", "2016-04-09 11:55:27.025305"], ["updated_at", "2016-04-09 11:55:27.025305"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 397], ["created_at", "2016-04-09 11:55:27.027521"], ["updated_at", "2016-04-09 11:55:27.027521"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:27.029731"], ["updated_at", "2016-04-09 11:55:27.029731"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 398], ["created_at", "2016-04-09 11:55:27.031115"], ["updated_at", "2016-04-09 11:55:27.031115"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 398], ["created_at", "2016-04-09 11:55:27.033856"], ["updated_at", "2016-04-09 11:55:27.033856"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 398], ["created_at", "2016-04-09 11:55:27.036302"], ["updated_at", "2016-04-09 11:55:27.036302"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:27.038894"], ["updated_at", "2016-04-09 11:55:27.038894"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 399], ["created_at", "2016-04-09 11:55:27.041489"], ["updated_at", "2016-04-09 11:55:27.041489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:27.045910"], ["updated_at", "2016-04-09 11:55:27.045910"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 400], ["created_at", "2016-04-09 11:55:27.047212"], ["updated_at", "2016-04-09 11:55:27.047212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 400], ["created_at", "2016-04-09 11:55:27.049183"], ["updated_at", "2016-04-09 11:55:27.049183"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:27.051105"], ["updated_at", "2016-04-09 11:55:27.051105"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 401], ["created_at", "2016-04-09 11:55:27.052296"], ["updated_at", "2016-04-09 11:55:27.052296"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 401], ["created_at", "2016-04-09 11:55:27.054212"], ["updated_at", "2016-04-09 11:55:27.054212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 401], ["created_at", "2016-04-09 11:55:27.056198"], ["updated_at", "2016-04-09 11:55:27.056198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:27.058136"], ["updated_at", "2016-04-09 11:55:27.058136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 402], ["created_at", "2016-04-09 11:55:27.059308"], ["updated_at", "2016-04-09 11:55:27.059308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:27.088670"], ["updated_at", "2016-04-09 11:55:27.088670"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:27.091867"], ["updated_at", "2016-04-09 11:55:27.091867"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:27.093680"], ["updated_at", "2016-04-09 11:55:27.093680"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:27.110054"], ["updated_at", "2016-04-09 11:55:27.110054"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:27.116398"], ["updated_at", "2016-04-09 11:55:27.116398"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 403], ["created_at", "2016-04-09 11:55:27.118062"], ["updated_at", "2016-04-09 11:55:27.118062"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:27.120747"], ["updated_at", "2016-04-09 11:55:27.120747"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 404], ["created_at", "2016-04-09 11:55:27.122273"], ["updated_at", "2016-04-09 11:55:27.122273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:27.125040"], ["updated_at", "2016-04-09 11:55:27.125040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.6ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:27.133581"], ["updated_at", "2016-04-09 11:55:27.133581"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 405], ["created_at", "2016-04-09 11:55:27.135124"], ["updated_at", "2016-04-09 11:55:27.135124"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 405], ["created_at", "2016-04-09 11:55:27.137393"], ["updated_at", "2016-04-09 11:55:27.137393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:27.139058"], ["updated_at", "2016-04-09 11:55:27.139058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:27.141845"], ["updated_at", "2016-04-09 11:55:27.141845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 406], ["created_at", "2016-04-09 11:55:27.143345"], ["updated_at", "2016-04-09 11:55:27.143345"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 406], ["created_at", "2016-04-09 11:55:27.145601"], ["updated_at", "2016-04-09 11:55:27.145601"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 406], ["created_at", "2016-04-09 11:55:27.147875"], ["updated_at", "2016-04-09 11:55:27.147875"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:27.170252"], ["updated_at", "2016-04-09 11:55:27.170252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 407], ["updated_at", "2016-04-09 11:55:27.171866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 407], ["updated_at", "2016-04-09 11:55:27.175830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:27.178039"], ["updated_at", "2016-04-09 11:55:27.178039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 408], ["updated_at", "2016-04-09 11:55:27.179469"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 408], ["updated_at", "2016-04-09 11:55:27.181979"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.4ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.218547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.220738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:27.222755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.224662"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.229040"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.230902"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:27.232641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.234339"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (1.0ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.243974"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.245765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:27.247451"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.249313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.319410"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.321651"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:27.323751"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.326032"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.329762"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.331851"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:27.334096"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.336006"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.345322"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.347822"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:27.349733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:27.352417"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:29.529864"], ["updated_at", "2016-04-09 11:55:29.529864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 409], ["created_at", "2016-04-09 11:55:29.532142"], ["updated_at", "2016-04-09 11:55:29.532142"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 409], ["created_at", "2016-04-09 11:55:29.535014"], ["updated_at", "2016-04-09 11:55:29.535014"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:29.537516"], ["updated_at", "2016-04-09 11:55:29.537516"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 410], ["created_at", "2016-04-09 11:55:29.539071"], ["updated_at", "2016-04-09 11:55:29.539071"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 410], ["created_at", "2016-04-09 11:55:29.541454"], ["updated_at", "2016-04-09 11:55:29.541454"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 410], ["created_at", "2016-04-09 11:55:29.543978"], ["updated_at", "2016-04-09 11:55:29.543978"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:29.546455"], ["updated_at", "2016-04-09 11:55:29.546455"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 411], ["created_at", "2016-04-09 11:55:29.548007"], ["updated_at", "2016-04-09 11:55:29.548007"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:29.559970"], ["updated_at", "2016-04-09 11:55:29.559970"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 412], ["created_at", "2016-04-09 11:55:29.561567"], ["updated_at", "2016-04-09 11:55:29.561567"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 412], ["created_at", "2016-04-09 11:55:29.563974"], ["updated_at", "2016-04-09 11:55:29.563974"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:29.566406"], ["updated_at", "2016-04-09 11:55:29.566406"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 413], ["created_at", "2016-04-09 11:55:29.567953"], ["updated_at", "2016-04-09 11:55:29.567953"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 413], ["created_at", "2016-04-09 11:55:29.570325"], ["updated_at", "2016-04-09 11:55:29.570325"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 413], ["created_at", "2016-04-09 11:55:29.572599"], ["updated_at", "2016-04-09 11:55:29.572599"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:29.574860"], ["updated_at", "2016-04-09 11:55:29.574860"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 414], ["created_at", "2016-04-09 11:55:29.576258"], ["updated_at", "2016-04-09 11:55:29.576258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:29.580934"], ["updated_at", "2016-04-09 11:55:29.580934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 415], ["created_at", "2016-04-09 11:55:29.582401"], ["updated_at", "2016-04-09 11:55:29.582401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 415], ["created_at", "2016-04-09 11:55:29.584720"], ["updated_at", "2016-04-09 11:55:29.584720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:29.586955"], ["updated_at", "2016-04-09 11:55:29.586955"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 416], ["created_at", "2016-04-09 11:55:29.588291"], ["updated_at", "2016-04-09 11:55:29.588291"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 416], ["created_at", "2016-04-09 11:55:29.591076"], ["updated_at", "2016-04-09 11:55:29.591076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 416], ["created_at", "2016-04-09 11:55:29.593790"], ["updated_at", "2016-04-09 11:55:29.593790"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:29.596112"], ["updated_at", "2016-04-09 11:55:29.596112"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 417], ["created_at", "2016-04-09 11:55:29.597518"], ["updated_at", "2016-04-09 11:55:29.597518"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:29.602127"], ["updated_at", "2016-04-09 11:55:29.602127"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 418], ["created_at", "2016-04-09 11:55:29.603585"], ["updated_at", "2016-04-09 11:55:29.603585"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 418], ["created_at", "2016-04-09 11:55:29.605964"], ["updated_at", "2016-04-09 11:55:29.605964"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:29.609561"], ["updated_at", "2016-04-09 11:55:29.609561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 419], ["created_at", "2016-04-09 11:55:29.610817"], ["updated_at", "2016-04-09 11:55:29.610817"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 419], ["created_at", "2016-04-09 11:55:29.613069"], ["updated_at", "2016-04-09 11:55:29.613069"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 419], ["created_at", "2016-04-09 11:55:29.615147"], ["updated_at", "2016-04-09 11:55:29.615147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:29.617480"], ["updated_at", "2016-04-09 11:55:29.617480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 420], ["created_at", "2016-04-09 11:55:29.618715"], ["updated_at", "2016-04-09 11:55:29.618715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:29.623992"], ["updated_at", "2016-04-09 11:55:29.623992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 421], ["created_at", "2016-04-09 11:55:29.625337"], ["updated_at", "2016-04-09 11:55:29.625337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 421], ["created_at", "2016-04-09 11:55:29.627326"], ["updated_at", "2016-04-09 11:55:29.627326"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:29.629229"], ["updated_at", "2016-04-09 11:55:29.629229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 422], ["created_at", "2016-04-09 11:55:29.630413"], ["updated_at", "2016-04-09 11:55:29.630413"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 422], ["created_at", "2016-04-09 11:55:29.632268"], ["updated_at", "2016-04-09 11:55:29.632268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 422], ["created_at", "2016-04-09 11:55:29.634264"], ["updated_at", "2016-04-09 11:55:29.634264"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:29.636987"], ["updated_at", "2016-04-09 11:55:29.636987"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 423], ["created_at", "2016-04-09 11:55:29.638570"], ["updated_at", "2016-04-09 11:55:29.638570"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:29.644467"], ["updated_at", "2016-04-09 11:55:29.644467"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 424], ["created_at", "2016-04-09 11:55:29.646036"], ["updated_at", "2016-04-09 11:55:29.646036"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 424], ["created_at", "2016-04-09 11:55:29.648416"], ["updated_at", "2016-04-09 11:55:29.648416"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:29.650791"], ["updated_at", "2016-04-09 11:55:29.650791"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 425], ["created_at", "2016-04-09 11:55:29.652277"], ["updated_at", "2016-04-09 11:55:29.652277"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 425], ["created_at", "2016-04-09 11:55:29.654649"], ["updated_at", "2016-04-09 11:55:29.654649"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 425], ["created_at", "2016-04-09 11:55:29.657187"], ["updated_at", "2016-04-09 11:55:29.657187"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:29.659545"], ["updated_at", "2016-04-09 11:55:29.659545"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 426], ["created_at", "2016-04-09 11:55:29.661043"], ["updated_at", "2016-04-09 11:55:29.661043"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.6ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:29.691671"], ["updated_at", "2016-04-09 11:55:29.691671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:29.693400"], ["updated_at", "2016-04-09 11:55:29.693400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:29.694757"], ["updated_at", "2016-04-09 11:55:29.694757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:29.710962"], ["updated_at", "2016-04-09 11:55:29.710962"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:29.717578"], ["updated_at", "2016-04-09 11:55:29.717578"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 427], ["created_at", "2016-04-09 11:55:29.719220"], ["updated_at", "2016-04-09 11:55:29.719220"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:29.721903"], ["updated_at", "2016-04-09 11:55:29.721903"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 428], ["created_at", "2016-04-09 11:55:29.724635"], ["updated_at", "2016-04-09 11:55:29.724635"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:29.726544"], ["updated_at", "2016-04-09 11:55:29.726544"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:29.734341"], ["updated_at", "2016-04-09 11:55:29.734341"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 429], ["created_at", "2016-04-09 11:55:29.735881"], ["updated_at", "2016-04-09 11:55:29.735881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 429], ["created_at", "2016-04-09 11:55:29.738010"], ["updated_at", "2016-04-09 11:55:29.738010"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:29.739556"], ["updated_at", "2016-04-09 11:55:29.739556"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:29.741539"], ["updated_at", "2016-04-09 11:55:29.741539"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 430], ["created_at", "2016-04-09 11:55:29.742866"], ["updated_at", "2016-04-09 11:55:29.742866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 430], ["created_at", "2016-04-09 11:55:29.744990"], ["updated_at", "2016-04-09 11:55:29.744990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 430], ["created_at", "2016-04-09 11:55:29.747009"], ["updated_at", "2016-04-09 11:55:29.747009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:29.770860"], ["updated_at", "2016-04-09 11:55:29.770860"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 431], ["updated_at", "2016-04-09 11:55:29.772419"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 431], ["updated_at", "2016-04-09 11:55:29.775700"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:29.778247"], ["updated_at", "2016-04-09 11:55:29.778247"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 432], ["updated_at", "2016-04-09 11:55:29.779767"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 432], ["updated_at", "2016-04-09 11:55:29.782109"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.9ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.5ms) ROLLBACK  (0.3ms) BEGIN  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.835783"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.840839"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:29.844164"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.846733"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.851653"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.853639"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:29.855579"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.858800"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.866622"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.868674"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:29.870558"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.872473"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.937049"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.939658"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:29.941699"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.943907"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.947708"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.949763"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:29.952104"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.954271"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.964087"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.966160"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:29.968399"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:29.971289"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.6ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:32.195862"], ["updated_at", "2016-04-09 11:55:32.195862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 433], ["created_at", "2016-04-09 11:55:32.198252"], ["updated_at", "2016-04-09 11:55:32.198252"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 433], ["created_at", "2016-04-09 11:55:32.201199"], ["updated_at", "2016-04-09 11:55:32.201199"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:32.203669"], ["updated_at", "2016-04-09 11:55:32.203669"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 434], ["created_at", "2016-04-09 11:55:32.205209"], ["updated_at", "2016-04-09 11:55:32.205209"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 434], ["created_at", "2016-04-09 11:55:32.207727"], ["updated_at", "2016-04-09 11:55:32.207727"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 434], ["created_at", "2016-04-09 11:55:32.210138"], ["updated_at", "2016-04-09 11:55:32.210138"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:32.212594"], ["updated_at", "2016-04-09 11:55:32.212594"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 435], ["created_at", "2016-04-09 11:55:32.214117"], ["updated_at", "2016-04-09 11:55:32.214117"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:32.225410"], ["updated_at", "2016-04-09 11:55:32.225410"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 436], ["created_at", "2016-04-09 11:55:32.227064"], ["updated_at", "2016-04-09 11:55:32.227064"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 436], ["created_at", "2016-04-09 11:55:32.229511"], ["updated_at", "2016-04-09 11:55:32.229511"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:32.231897"], ["updated_at", "2016-04-09 11:55:32.231897"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 437], ["created_at", "2016-04-09 11:55:32.233406"], ["updated_at", "2016-04-09 11:55:32.233406"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 437], ["created_at", "2016-04-09 11:55:32.235714"], ["updated_at", "2016-04-09 11:55:32.235714"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 437], ["created_at", "2016-04-09 11:55:32.238066"], ["updated_at", "2016-04-09 11:55:32.238066"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:32.240823"], ["updated_at", "2016-04-09 11:55:32.240823"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 438], ["created_at", "2016-04-09 11:55:32.242413"], ["updated_at", "2016-04-09 11:55:32.242413"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:32.247350"], ["updated_at", "2016-04-09 11:55:32.247350"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 439], ["created_at", "2016-04-09 11:55:32.248888"], ["updated_at", "2016-04-09 11:55:32.248888"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 439], ["created_at", "2016-04-09 11:55:32.251331"], ["updated_at", "2016-04-09 11:55:32.251331"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:32.253687"], ["updated_at", "2016-04-09 11:55:32.253687"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 440], ["created_at", "2016-04-09 11:55:32.255383"], ["updated_at", "2016-04-09 11:55:32.255383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 440], ["created_at", "2016-04-09 11:55:32.258564"], ["updated_at", "2016-04-09 11:55:32.258564"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 440], ["created_at", "2016-04-09 11:55:32.261008"], ["updated_at", "2016-04-09 11:55:32.261008"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:32.263363"], ["updated_at", "2016-04-09 11:55:32.263363"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 441], ["created_at", "2016-04-09 11:55:32.264910"], ["updated_at", "2016-04-09 11:55:32.264910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:32.269723"], ["updated_at", "2016-04-09 11:55:32.269723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 442], ["created_at", "2016-04-09 11:55:32.271230"], ["updated_at", "2016-04-09 11:55:32.271230"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 442], ["created_at", "2016-04-09 11:55:32.273608"], ["updated_at", "2016-04-09 11:55:32.273608"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:32.276912"], ["updated_at", "2016-04-09 11:55:32.276912"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 443], ["created_at", "2016-04-09 11:55:32.278268"], ["updated_at", "2016-04-09 11:55:32.278268"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 443], ["created_at", "2016-04-09 11:55:32.280283"], ["updated_at", "2016-04-09 11:55:32.280283"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 443], ["created_at", "2016-04-09 11:55:32.282252"], ["updated_at", "2016-04-09 11:55:32.282252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:32.284178"], ["updated_at", "2016-04-09 11:55:32.284178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 444], ["created_at", "2016-04-09 11:55:32.285627"], ["updated_at", "2016-04-09 11:55:32.285627"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:32.290776"], ["updated_at", "2016-04-09 11:55:32.290776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 445], ["created_at", "2016-04-09 11:55:32.292111"], ["updated_at", "2016-04-09 11:55:32.292111"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 445], ["created_at", "2016-04-09 11:55:32.294047"], ["updated_at", "2016-04-09 11:55:32.294047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:32.295984"], ["updated_at", "2016-04-09 11:55:32.295984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 446], ["created_at", "2016-04-09 11:55:32.297145"], ["updated_at", "2016-04-09 11:55:32.297145"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 446], ["created_at", "2016-04-09 11:55:32.299059"], ["updated_at", "2016-04-09 11:55:32.299059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 446], ["created_at", "2016-04-09 11:55:32.301114"], ["updated_at", "2016-04-09 11:55:32.301114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:32.303859"], ["updated_at", "2016-04-09 11:55:32.303859"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 447], ["created_at", "2016-04-09 11:55:32.305314"], ["updated_at", "2016-04-09 11:55:32.305314"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:32.311400"], ["updated_at", "2016-04-09 11:55:32.311400"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 448], ["created_at", "2016-04-09 11:55:32.312679"], ["updated_at", "2016-04-09 11:55:32.312679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 448], ["created_at", "2016-04-09 11:55:32.314778"], ["updated_at", "2016-04-09 11:55:32.314778"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:32.316876"], ["updated_at", "2016-04-09 11:55:32.316876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 449], ["created_at", "2016-04-09 11:55:32.318084"], ["updated_at", "2016-04-09 11:55:32.318084"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 449], ["created_at", "2016-04-09 11:55:32.320002"], ["updated_at", "2016-04-09 11:55:32.320002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 449], ["created_at", "2016-04-09 11:55:32.321896"], ["updated_at", "2016-04-09 11:55:32.321896"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:32.324337"], ["updated_at", "2016-04-09 11:55:32.324337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 450], ["created_at", "2016-04-09 11:55:32.325533"], ["updated_at", "2016-04-09 11:55:32.325533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:32.354748"], ["updated_at", "2016-04-09 11:55:32.354748"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:32.362422"], ["updated_at", "2016-04-09 11:55:32.362422"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:32.364177"], ["updated_at", "2016-04-09 11:55:32.364177"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:32.375984"], ["updated_at", "2016-04-09 11:55:32.375984"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:32.382334"], ["updated_at", "2016-04-09 11:55:32.382334"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 451], ["created_at", "2016-04-09 11:55:32.383977"], ["updated_at", "2016-04-09 11:55:32.383977"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:32.386556"], ["updated_at", "2016-04-09 11:55:32.386556"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 452], ["created_at", "2016-04-09 11:55:32.388102"], ["updated_at", "2016-04-09 11:55:32.388102"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:32.389857"], ["updated_at", "2016-04-09 11:55:32.389857"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.4ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.2ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:32.398874"], ["updated_at", "2016-04-09 11:55:32.398874"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 453], ["created_at", "2016-04-09 11:55:32.400386"], ["updated_at", "2016-04-09 11:55:32.400386"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 453], ["created_at", "2016-04-09 11:55:32.402573"], ["updated_at", "2016-04-09 11:55:32.402573"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:32.404014"], ["updated_at", "2016-04-09 11:55:32.404014"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:32.406159"], ["updated_at", "2016-04-09 11:55:32.406159"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 454], ["created_at", "2016-04-09 11:55:32.407679"], ["updated_at", "2016-04-09 11:55:32.407679"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 454], ["created_at", "2016-04-09 11:55:32.410097"], ["updated_at", "2016-04-09 11:55:32.410097"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 454], ["created_at", "2016-04-09 11:55:32.412481"], ["updated_at", "2016-04-09 11:55:32.412481"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:32.436462"], ["updated_at", "2016-04-09 11:55:32.436462"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 455], ["updated_at", "2016-04-09 11:55:32.438060"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 455], ["updated_at", "2016-04-09 11:55:32.441058"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:32.443644"], ["updated_at", "2016-04-09 11:55:32.443644"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 456], ["updated_at", "2016-04-09 11:55:32.445183"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 456], ["updated_at", "2016-04-09 11:55:32.447724"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.5ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.9ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.485317"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.487456"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:32.489378"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.491158"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.495534"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.497452"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:32.499491"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.501279"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.511932"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.513788"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:32.516020"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.518313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.588313"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.590673"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:32.592903"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.594962"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.598884"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.600976"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:32.602840"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.604782"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.621358"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.624796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:32.626477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:32.627984"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) BEGIN Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:34.873012"], ["updated_at", "2016-04-09 11:55:34.873012"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 457], ["created_at", "2016-04-09 11:55:34.875756"], ["updated_at", "2016-04-09 11:55:34.875756"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 457], ["created_at", "2016-04-09 11:55:34.878653"], ["updated_at", "2016-04-09 11:55:34.878653"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:34.881104"], ["updated_at", "2016-04-09 11:55:34.881104"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 458], ["created_at", "2016-04-09 11:55:34.882637"], ["updated_at", "2016-04-09 11:55:34.882637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 458], ["created_at", "2016-04-09 11:55:34.885217"], ["updated_at", "2016-04-09 11:55:34.885217"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 458], ["created_at", "2016-04-09 11:55:34.887642"], ["updated_at", "2016-04-09 11:55:34.887642"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:34.890258"], ["updated_at", "2016-04-09 11:55:34.890258"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 459], ["created_at", "2016-04-09 11:55:34.891740"], ["updated_at", "2016-04-09 11:55:34.891740"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT authors.name AS _repor_dimension_author, ARRAY_AGG(posts.id) AS _report_aggregator_post_ids FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:34.902983"], ["updated_at", "2016-04-09 11:55:34.902983"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 460], ["created_at", "2016-04-09 11:55:34.904613"], ["updated_at", "2016-04-09 11:55:34.904613"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 460], ["created_at", "2016-04-09 11:55:34.907429"], ["updated_at", "2016-04-09 11:55:34.907429"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:34.909937"], ["updated_at", "2016-04-09 11:55:34.909937"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 461], ["created_at", "2016-04-09 11:55:34.911446"], ["updated_at", "2016-04-09 11:55:34.911446"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 461], ["created_at", "2016-04-09 11:55:34.913842"], ["updated_at", "2016-04-09 11:55:34.913842"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 461], ["created_at", "2016-04-09 11:55:34.916107"], ["updated_at", "2016-04-09 11:55:34.916107"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:34.918475"], ["updated_at", "2016-04-09 11:55:34.918475"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 462], ["created_at", "2016-04-09 11:55:34.919958"], ["updated_at", "2016-04-09 11:55:34.919958"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MAX(posts.likes) AS _report_aggregator_max_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:34.925232"], ["updated_at", "2016-04-09 11:55:34.925232"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 463], ["created_at", "2016-04-09 11:55:34.926787"], ["updated_at", "2016-04-09 11:55:34.926787"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 463], ["created_at", "2016-04-09 11:55:34.929143"], ["updated_at", "2016-04-09 11:55:34.929143"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:34.931459"], ["updated_at", "2016-04-09 11:55:34.931459"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 464], ["created_at", "2016-04-09 11:55:34.932991"], ["updated_at", "2016-04-09 11:55:34.932991"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 464], ["created_at", "2016-04-09 11:55:34.935279"], ["updated_at", "2016-04-09 11:55:34.935279"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 464], ["created_at", "2016-04-09 11:55:34.938179"], ["updated_at", "2016-04-09 11:55:34.938179"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:34.941125"], ["updated_at", "2016-04-09 11:55:34.941125"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 465], ["created_at", "2016-04-09 11:55:34.943099"], ["updated_at", "2016-04-09 11:55:34.943099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, MIN(posts.likes) AS _report_aggregator_min_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.1ms) ROLLBACK  (0.1ms) BEGIN Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:34.947667"], ["updated_at", "2016-04-09 11:55:34.947667"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 466], ["created_at", "2016-04-09 11:55:34.948947"], ["updated_at", "2016-04-09 11:55:34.948947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 466], ["created_at", "2016-04-09 11:55:34.950850"], ["updated_at", "2016-04-09 11:55:34.950850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:34.952876"], ["updated_at", "2016-04-09 11:55:34.952876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 467], ["created_at", "2016-04-09 11:55:34.954212"], ["updated_at", "2016-04-09 11:55:34.954212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 467], ["created_at", "2016-04-09 11:55:34.957226"], ["updated_at", "2016-04-09 11:55:34.957226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 467], ["created_at", "2016-04-09 11:55:34.959362"], ["updated_at", "2016-04-09 11:55:34.959362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:34.961545"], ["updated_at", "2016-04-09 11:55:34.961545"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 468], ["created_at", "2016-04-09 11:55:34.963039"], ["updated_at", "2016-04-09 11:55:34.963039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, AVG(posts.likes) AS _report_aggregator_mean_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:34.968194"], ["updated_at", "2016-04-09 11:55:34.968194"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 469], ["created_at", "2016-04-09 11:55:34.969761"], ["updated_at", "2016-04-09 11:55:34.969761"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 469], ["created_at", "2016-04-09 11:55:34.972111"], ["updated_at", "2016-04-09 11:55:34.972111"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:34.974599"], ["updated_at", "2016-04-09 11:55:34.974599"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 470], ["created_at", "2016-04-09 11:55:34.976130"], ["updated_at", "2016-04-09 11:55:34.976130"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 470], ["created_at", "2016-04-09 11:55:34.978503"], ["updated_at", "2016-04-09 11:55:34.978503"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 470], ["created_at", "2016-04-09 11:55:34.981240"], ["updated_at", "2016-04-09 11:55:34.981240"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:34.983789"], ["updated_at", "2016-04-09 11:55:34.983789"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 471], ["created_at", "2016-04-09 11:55:34.985375"], ["updated_at", "2016-04-09 11:55:34.985375"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, SUM(posts.likes) AS _report_aggregator_total_likes FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:34.991461"], ["updated_at", "2016-04-09 11:55:34.991461"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 3], ["author_id", 472], ["created_at", "2016-04-09 11:55:34.993338"], ["updated_at", "2016-04-09 11:55:34.993338"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 2], ["author_id", 472], ["created_at", "2016-04-09 11:55:34.995568"], ["updated_at", "2016-04-09 11:55:34.995568"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:34.997771"], ["updated_at", "2016-04-09 11:55:34.997771"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 4], ["author_id", 473], ["created_at", "2016-04-09 11:55:34.999121"], ["updated_at", "2016-04-09 11:55:34.999121"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 1], ["author_id", 473], ["created_at", "2016-04-09 11:55:35.001283"], ["updated_at", "2016-04-09 11:55:35.001283"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 5], ["author_id", 473], ["created_at", "2016-04-09 11:55:35.003441"], ["updated_at", "2016-04-09 11:55:35.003441"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Chester"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Chester"], ["created_at", "2016-04-09 11:55:35.005664"], ["updated_at", "2016-04-09 11:55:35.005664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "author_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["likes", 10], ["author_id", 474], ["created_at", "2016-04-09 11:55:35.007125"], ["updated_at", "2016-04-09 11:55:35.007125"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT authors.name AS _repor_dimension_author, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 3], ["created_at", "2016-04-09 11:55:35.044889"], ["updated_at", "2016-04-09 11:55:35.044889"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 10], ["created_at", "2016-04-09 11:55:35.046970"], ["updated_at", "2016-04-09 11:55:35.046970"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 1], ["created_at", "2016-04-09 11:55:35.048705"], ["updated_at", "2016-04-09 11:55:35.048705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.likes) FROM "posts"  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("likes", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["likes", 2], ["created_at", "2016-04-09 11:55:35.061013"], ["updated_at", "2016-04-09 11:55:35.061013"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MAX(posts.likes) FROM "posts"  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:35.067081"], ["updated_at", "2016-04-09 11:55:35.067081"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 475], ["created_at", "2016-04-09 11:55:35.068699"], ["updated_at", "2016-04-09 11:55:35.068699"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:35.071400"], ["updated_at", "2016-04-09 11:55:35.071400"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 476], ["created_at", "2016-04-09 11:55:35.073112"], ["updated_at", "2016-04-09 11:55:35.073112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:35.075830"], ["updated_at", "2016-04-09 11:55:35.075830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN (NULL)) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IS NULL OR authors.name IN ('Alice')) Post Load (0.5ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN ('Alice','Bob')) Post Load (0.3ms) SELECT "posts".* FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id WHERE (authors.name IN (NULL))  (0.1ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Alice"], ["created_at", "2016-04-09 11:55:35.084379"], ["updated_at", "2016-04-09 11:55:35.084379"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 477], ["created_at", "2016-04-09 11:55:35.086002"], ["updated_at", "2016-04-09 11:55:35.086002"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Alice"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 477], ["created_at", "2016-04-09 11:55:35.088458"], ["updated_at", "2016-04-09 11:55:35.088458"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-04-09 11:55:35.090723"], ["updated_at", "2016-04-09 11:55:35.090723"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Bob"], ["created_at", "2016-04-09 11:55:35.093264"], ["updated_at", "2016-04-09 11:55:35.093264"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 478], ["created_at", "2016-04-09 11:55:35.095274"], ["updated_at", "2016-04-09 11:55:35.095274"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 478], ["created_at", "2016-04-09 11:55:35.097746"], ["updated_at", "2016-04-09 11:55:35.097746"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Bob"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("author_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["author_id", 478], ["created_at", "2016-04-09 11:55:35.100156"], ["updated_at", "2016-04-09 11:55:35.100156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Post Load (0.4ms) SELECT authors.name AS _repor_dimension_author, COUNT(*) AS count FROM "posts" LEFT OUTER JOIN authors ON authors.id = posts.author_id GROUP BY _repor_dimension_author ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Timmy"], ["created_at", "2016-04-09 11:55:35.123730"], ["updated_at", "2016-04-09 11:55:35.123730"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["author_id", 479], ["updated_at", "2016-04-09 11:55:35.125327"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Timmy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-12 00:00:00.000000"], ["author_id", 479], ["updated_at", "2016-04-09 11:55:35.128079"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tammy"], ["created_at", "2016-04-09 11:55:35.130541"], ["updated_at", "2016-04-09 11:55:35.130541"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-01-15 00:00:00.000000"], ["author_id", 480], ["updated_at", "2016-04-09 11:55:35.132087"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = $1 LIMIT 1 [["name", "Tammy"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "author_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", "2016-03-01 00:00:00.000000"], ["author_id", 480], ["updated_at", "2016-04-09 11:55:35.134614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (0.6ms) SELECT MAX(posts.created_at) FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id"  (1.0ms) SELECT authors.name AS _repor_dimension_author, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_count FROM "posts" INNER JOIN "authors" ON "authors"."id" = "posts"."author_id" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-02-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-02-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-02-01 00:00:00 UTC,2016-03-01 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-03-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-04-01 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-03-01 00:00:00 UTC,2016-04-01 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_author, _repor_dimension_created_at ORDER BY _repor_dimension_author ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.171518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.173757"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:35.176050"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.177961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" GROUP BY _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.182787"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.184903"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:35.186871"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.188857"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.9ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.199372"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.201773"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:35.203768"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.205955"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.2ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.8ms) SELECT posts.title AS _repor_dimension_title, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) GROUP BY _repor_dimension_title, _repor_dimension_likes, _repor_dimension_created_at ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.270080"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.272206"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:35.274664"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.276563"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.280087"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.290071"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:35.291986"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.293866"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "posts"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.301263"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 2], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.303495"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-01 00:00:00.000000"], ["likes", 1], ["title", "B"], ["updated_at", "2016-04-09 11:55:35.305402"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("created_at", "likes", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", "2016-01-02 00:00:00.000000"], ["likes", 1], ["title", "A"], ["updated_at", "2016-04-09 11:55:35.308457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT MIN(posts.created_at) FROM "posts"  (0.3ms) SELECT MAX(posts.created_at) FROM "posts"  (0.2ms) SELECT MIN(posts.likes) FROM "posts"  (0.2ms) SELECT MAX(posts.likes) FROM "posts"  (0.7ms) SELECT _repor_dimension_created_at_bin_table.bin_text AS _repor_dimension_created_at, _repor_dimension_likes_bin_table.bin_text AS _repor_dimension_likes, posts.title AS _repor_dimension_title, COUNT(DISTINCT posts.id) AS _report_aggregator_post_count FROM "posts" INNER JOIN ( SELECT CAST('2016-01-01 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-01 00:00:00 UTC,2016-01-02 00:00:00 UTC' AS text) AS bin_text UNION SELECT CAST('2016-01-02 00:00:00.000000' AS timestamp with time zone) AS min, CAST('2016-01-03 00:00:00.000000' AS timestamp with time zone) AS max, CAST('2016-01-02 00:00:00 UTC,2016-01-03 00:00:00 UTC' AS text) AS bin_text ) AS _repor_dimension_created_at_bin_table ON ( CASE WHEN _repor_dimension_created_at_bin_table.min IS NULL AND _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at IS NULL) WHEN _repor_dimension_created_at_bin_table.min IS NULL THEN (posts.created_at < _repor_dimension_created_at_bin_table.max) WHEN _repor_dimension_created_at_bin_table.max IS NULL THEN (posts.created_at >= _repor_dimension_created_at_bin_table.min) ELSE ((posts.created_at >= _repor_dimension_created_at_bin_table.min) AND (posts.created_at < _repor_dimension_created_at_bin_table.max)) END ) INNER JOIN ( SELECT 1.0 AS min, 2.0 AS max, CAST('1.0,2.0' AS text) AS bin_text UNION SELECT 2.0 AS min, 3.0 AS max, CAST('2.0,3.0' AS text) AS bin_text ) AS _repor_dimension_likes_bin_table ON ( CASE WHEN _repor_dimension_likes_bin_table.min IS NULL AND _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes IS NULL) WHEN _repor_dimension_likes_bin_table.min IS NULL THEN (posts.likes < _repor_dimension_likes_bin_table.max) WHEN _repor_dimension_likes_bin_table.max IS NULL THEN (posts.likes >= _repor_dimension_likes_bin_table.min) ELSE ((posts.likes >= _repor_dimension_likes_bin_table.min) AND (posts.likes < _repor_dimension_likes_bin_table.max)) END ) GROUP BY _repor_dimension_created_at, _repor_dimension_likes, _repor_dimension_title ORDER BY _repor_dimension_title ASC NULLS FIRST  (0.2ms) ROLLBACK